Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08565/0.08565, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009906, allocations: 115.4 kB / 31.84 MB, free: 3.891 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4864/0.4864, allocations: 78.51 MB / 419.3 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 145.1 kB / 0.5559 GB, free: 28.44 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1312, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006666/0.1379, allocations: 5.792 MB / 0.628 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.1414, allocations: 1.709 MB / 0.6297 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.1425, allocations: 12 kB / 0.6297 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.1432, allocations: 198.3 kB / 0.6299 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.1455, allocations: 0.6948 MB / 0.6306 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1469, allocations: 0.5596 MB / 0.6311 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.1489, allocations: 1.241 MB / 0.6323 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005455/0.1495, allocations: 275.1 kB / 0.6326 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009018/0.1504, allocations: 0.5251 MB / 0.6331 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008992/0.1513, allocations: 0.6455 MB / 0.6338 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.1516, allocations: 88 kB / 0.6338 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.1522, allocations: 219.9 kB / 0.634 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.1525, allocations: 250.9 kB / 0.6343 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.1532, allocations: 0.5398 MB / 0.6348 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.1551, allocations: 1.369 MB / 0.6361 GB, free: 1.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1551, allocations: 0 / 0.6361 GB, free: 1.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1551, allocations: 0 / 0.6361 GB, free: 1.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.142e-05/0.1551, allocations: 0 / 0.6361 GB, free: 1.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.008106/0.1633, allocations: 2.383 MB / 0.6385 GB, free: 14.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1633, allocations: 11.98 kB / 0.6385 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00512/0.1684, allocations: 0.7719 MB / 0.6392 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1698, allocations: 0.7136 MB / 0.6399 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.1701, allocations: 248.2 kB / 0.6402 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.1703, allocations: 68 kB / 0.6402 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.1726, allocations: 0.9521 MB / 0.6412 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1727, allocations: 3.938 kB / 0.6412 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.1727, allocations: 28 kB / 0.6412 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.1728, allocations: 16 kB / 0.6412 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.175, allocations: 0.9798 MB / 0.6422 GB, free: 10.96 MB / 462.1 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.005806/0.1808, allocations: 3.163 MB / 0.6453 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.183, allocations: 1.308 MB / 0.6465 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.1846, allocations: 0.7077 MB / 0.6472 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.1847, allocations: 16.64 kB / 0.6472 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1847, allocations: 43.22 kB / 0.6473 GB, free: 5.445 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 3.035e-06/0.1847, allocations: 0 / 0.6473 GB, free: 5.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02694/0.2117, allocations: 6.763 MB / 0.6539 GB, free: 14.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.2118, allocations: 60.06 kB / 0.6539 GB, free: 14.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.213, allocations: 0.8026 MB / 0.6547 GB, free: 13.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.2132, allocations: 41.7 kB / 0.6548 GB, free: 13.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.2136, allocations: 437 kB / 0.6552 GB, free: 13.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.214, allocations: 317.3 kB / 0.6555 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.2145, allocations: 182.9 kB / 0.6557 GB, free: 12.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2146, allocations: 341.9 kB / 0.656 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.2161, allocations: 0.6545 MB / 0.6566 GB, free: 11.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.2178, allocations: 0.7678 MB / 0.6574 GB, free: 10.97 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/0.2356, allocations: 4.492 MB / 0.6618 GB, free: 6.441 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.2356, allocations: 0 / 0.6618 GB, free: 6.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01342/0.249, allocations: 4.133 MB / 0.6658 GB, free: 2.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.2491, allocations: 4 kB / 0.6658 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.2491, allocations: 4 kB / 0.6658 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006279/0.2554, allocations: 1.78 MB / 0.6676 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008777/0.2563, allocations: 175.7 kB / 0.6677 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.2783, allocations: 9.327 MB / 0.6768 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.2798, allocations: 155.3 kB / 0.677 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.28, allocations: 35.98 kB / 0.677 GB, free: 6.668 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005538/0.2805, allocations: 229.6 kB / 0.6772 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.2808, allocations: 111.3 kB / 0.6773 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/0.2936, allocations: 3.825 MB / 0.6811 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.2937, allocations: 12 kB / 0.6811 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2937, allocations: 0 / 0.6811 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.2937, allocations: 3.984 kB / 0.6811 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.3084, allocations: 5.357 MB / 0.6863 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.3084, allocations: 0 / 0.6863 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.3089, allocations: 91.89 kB / 0.6864 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/0.3147, allocations: 1.745 MB / 0.6881 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.3148, allocations: 19.94 kB / 0.6881 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/0.3339, allocations: 8.073 MB / 0.696 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3339, allocations: 3.938 kB / 0.696 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/0.3485, allocations: 4.713 MB / 0.7006 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.3489, allocations: 192.2 kB / 0.7008 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.3492, allocations: 19.98 kB / 0.7008 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/0.3502, allocations: 87.91 kB / 0.7009 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006703/0.3509, allocations: 200.7 kB / 0.7011 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.732e-05/0.351, allocations: 24 kB / 0.7011 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007667/0.3518, allocations: 0.5422 MB / 0.7016 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3518, allocations: 0 / 0.7016 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001355/0.3531, allocations: 411.6 kB / 0.702 GB, free: 12.65 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002675/0.3534, allocations: 123.4 kB / 0.7022 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006401/0.3598, allocations: 2.337 MB / 0.7044 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3598, allocations: 0 / 0.7044 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004515/0.3644, allocations: 1.511 MB / 0.7059 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.3651, allocations: 83.28 kB / 0.706 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.3685, allocations: 1.756 MB / 0.7077 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.3691, allocations: 1.029 MB / 0.7087 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.3694, allocations: 74.19 kB / 0.7088 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.3696, allocations: 59.42 kB / 0.7088 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of SimCode: time 3.336e-06/0.3696, allocations: 3.938 kB / 0.7088 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.3344/0.7041, allocations: 22.61 MB / 0.7309 GB, free: 82.5 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)