Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 160.6 kB / 256.3 MB, free: 13.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4555/0.4555, allocations: 80.38 MB / 393.1 MB, free: 2.141 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 489.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.733e-05/4.962e-05, allocations: 4.703 kB / 489.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.02181/0.02186, allocations: 11.83 MB / 0.4894 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.03242, allocations: 3.469 MB / 0.4928 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.03466, allocations: 31.94 kB / 0.4928 GB, free: 12.44 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.03683, allocations: 0.5667 MB / 0.4933 GB, free: 11.87 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005547/0.04238, allocations: 1.604 MB / 0.4949 GB, free: 10.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.04674, allocations: 1.542 MB / 0.4964 GB, free: 8.766 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00598/0.05272, allocations: 3.794 MB / 0.5001 GB, free: 4.957 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.05427, allocations: 0.5776 MB / 0.5007 GB, free: 4.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.05888, allocations: 2.154 MB / 0.5028 GB, free: 2.156 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/0.06173, allocations: 1.581 MB / 0.5043 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009516/0.06268, allocations: 292 kB / 0.5046 GB, free: 292 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.06422, allocations: 459.8 kB / 0.505 GB, free: 15.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.06548, allocations: 0.7894 MB / 0.5058 GB, free: 15.04 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002119/0.0676, allocations: 1.098 MB / 0.5069 GB, free: 13.94 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.07325, allocations: 4.142 MB / 0.5109 GB, free: 9.785 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.07325, allocations: 0 / 0.5109 GB, free: 9.785 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.07325, allocations: 0 / 0.5109 GB, free: 9.785 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.635e-05/0.07333, allocations: 0 / 0.5109 GB, free: 9.785 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02581/0.09914, allocations: 7.413 MB / 0.5182 GB, free: 2.266 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.09919, allocations: 12.03 kB / 0.5182 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.1151, allocations: 2.694 MB / 0.5208 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006942/0.1221, allocations: 1.875 MB / 0.5226 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001528/0.1236, allocations: 0.8295 MB / 0.5235 GB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.1247, allocations: 223.9 kB / 0.5237 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008842/0.1335, allocations: 3.097 MB / 0.5267 GB, free: 9.246 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.1336, allocations: 4 kB / 0.5267 GB, free: 9.242 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/0.1339, allocations: 80 kB / 0.5268 GB, free: 9.164 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.1339, allocations: 48 kB / 0.5268 GB, free: 9.117 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007495/0.1414, allocations: 2.842 MB / 0.5296 GB, free: 6.246 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/0.1636, allocations: 7.484 MB / 0.5369 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.1763, allocations: 3.586 MB / 0.5404 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005152/0.1814, allocations: 1.842 MB / 0.5422 GB, free: 9.125 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.1818, allocations: 53.98 kB / 0.5423 GB, free: 9.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006477/0.1883, allocations: 2.298 MB / 0.5445 GB, free: 6.742 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 6.893e-06/0.1883, allocations: 0 / 0.5445 GB, free: 6.742 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.1345/0.3227, allocations: 27.32 MB / 0.5712 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/0.3229, allocations: 184.2 kB / 0.5714 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004973/0.3279, allocations: 2.288 MB / 0.5736 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006606/0.3285, allocations: 77.64 kB / 0.5737 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.3299, allocations: 1.193 MB / 0.5748 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/0.3316, allocations: 0.9101 MB / 0.5757 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.3334, allocations: 0.5462 MB / 0.5763 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3336, allocations: 301.1 kB / 0.5765 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005357/0.339, allocations: 2.067 MB / 0.5786 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00624/0.3452, allocations: 2.43 MB / 0.5809 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06645/0.4117, allocations: 14.52 MB / 0.5951 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.4117, allocations: 4 kB / 0.5951 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.2133/0.6249, allocations: 12.67 MB / 0.6075 GB, free: 160 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/0.625, allocations: 118.5 kB / 0.6076 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.6251, allocations: 6.312 kB / 0.6076 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03492/0.66, allocations: 7.622 MB / 0.615 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.6631, allocations: 0.5751 MB / 0.6156 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05549/0.7186, allocations: 22.59 MB / 0.6377 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/0.7228, allocations: 487.9 kB / 0.6381 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005035/0.7233, allocations: 120 kB / 0.6383 GB, free: 146.1 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.7246, allocations: 0.5311 MB / 0.6388 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008999/0.7255, allocations: 397.9 kB / 0.6392 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03837/0.7639, allocations: 11.89 MB / 0.6508 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.7639, allocations: 27.98 kB / 0.6508 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.598e-05/0.764, allocations: 20 kB / 0.6508 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.666e-05/0.764, allocations: 11.95 kB / 0.6508 GB, free: 133.1 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04266/0.8067, allocations: 14.26 MB / 0.6647 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.8067, allocations: 0 / 0.6647 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.8083, allocations: 251.6 kB / 0.665 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03319/0.8415, allocations: 7.712 MB / 0.6725 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006699/0.8421, allocations: 53.61 kB / 0.6726 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05461/0.8968, allocations: 24.09 MB / 0.6961 GB, free: 86.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8968, allocations: 8.875 kB / 0.6961 GB, free: 86.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04292/0.9397, allocations: 14.42 MB / 0.7102 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/0.9405, allocations: 346.2 kB / 0.7105 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005797/0.9411, allocations: 48 kB / 0.7106 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/0.9441, allocations: 300.7 kB / 0.7109 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002051/0.9461, allocations: 0.6073 MB / 0.7115 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/0.9464, allocations: 67.98 kB / 0.7115 GB, free: 70.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001908/0.9483, allocations: 1.507 MB / 0.713 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.9483, allocations: 0 / 0.713 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00307/0.9513, allocations: 1.182 MB / 0.7141 GB, free: 67.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004142/0.9517, allocations: 182 kB / 0.7143 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01622/0.968, allocations: 6.495 MB / 0.7207 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.968, allocations: 0.7656 kB / 0.7207 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01208/0.98, allocations: 4.312 MB / 0.7249 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.9824, allocations: 334.5 kB / 0.7252 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008257/0.9907, allocations: 5.473 MB / 0.7305 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/0.9916, allocations: 1.266 MB / 0.7318 GB, free: 49.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001083/0.9926, allocations: 270.3 kB / 0.732 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006286/0.9933, allocations: 184.5 kB / 0.7322 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/0.9933, allocations: 0 / 0.7322 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.2403/1.234, allocations: 69.88 MB / 0.8004 GB, free: 169.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.749255958013237]