Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07493/0.07493, allocations: 12.6 MB / 28.91 MB, free: 0.6172 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.001007/0.001007, allocations: 111.5 kB / 32.5 MB, free: 3.559 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.232/1.232, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001187/0.001187, allocations: 196.4 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4043/0.4043, allocations: 78.51 MB / 420 MB, free: 11.27 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.002496/0.002496, allocations: 147.1 kB / 0.5565 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.11, allocations: 68.12 MB / 0.6231 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006283/0.1164, allocations: 6.534 MB / 0.6294 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1195, allocations: 1.838 MB / 0.6312 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.12, allocations: 12 kB / 0.6312 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.1204, allocations: 222 kB / 0.6315 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.1219, allocations: 0.7267 MB / 0.6322 GB, free: 6.043 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1231, allocations: 0.6149 MB / 0.6328 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.1243, allocations: 1.417 MB / 0.6342 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.1247, allocations: 332.4 kB / 0.6345 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000567/0.1253, allocations: 0.5912 MB / 0.635 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006749/0.126, allocations: 0.7349 MB / 0.6358 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.1261, allocations: 100 kB / 0.6359 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.1265, allocations: 235.9 kB / 0.6361 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.1267, allocations: 282.8 kB / 0.6364 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.1272, allocations: 0.6251 MB / 0.637 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.1285, allocations: 1.526 MB / 0.6385 GB, free: 15.58 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1285, allocations: 0 / 0.6385 GB, free: 15.58 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1285, allocations: 0 / 0.6385 GB, free: 15.58 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1285, allocations: 0 / 0.6385 GB, free: 15.58 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007057/0.1356, allocations: 2.56 MB / 0.641 GB, free: 12.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1356, allocations: 15.98 kB / 0.641 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.1404, allocations: 0.7788 MB / 0.6417 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.1416, allocations: 0.7685 MB / 0.6425 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.1419, allocations: 264.2 kB / 0.6427 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.142, allocations: 76 kB / 0.6428 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.1442, allocations: 1.089 MB / 0.6439 GB, free: 9.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1442, allocations: 3.938 kB / 0.6439 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.1443, allocations: 31.94 kB / 0.6439 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1443, allocations: 20 kB / 0.6439 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.1467, allocations: 1.12 MB / 0.645 GB, free: 8.699 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.005263/0.152, allocations: 3.44 MB / 0.6484 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.154, allocations: 1.443 MB / 0.6498 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.1556, allocations: 0.7813 MB / 0.6505 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.1557, allocations: 16.98 kB / 0.6506 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1557, allocations: 43.56 kB / 0.6506 GB, free: 2.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 3.997e-06/0.1558, allocations: 7.984 kB / 0.6506 GB, free: 2.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02551/0.1813, allocations: 6.606 MB / 0.6571 GB, free: 12.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1813, allocations: 60.41 kB / 0.6571 GB, free: 11.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.1825, allocations: 0.8923 MB / 0.658 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.1827, allocations: 41.7 kB / 0.658 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.1831, allocations: 496.7 kB / 0.6585 GB, free: 10.53 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000388/0.1835, allocations: 351 kB / 0.6588 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/0.1839, allocations: 206.8 kB / 0.659 GB, free: 9.973 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1841, allocations: 353.9 kB / 0.6594 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.186, allocations: 0.7326 MB / 0.6601 GB, free: 8.891 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.188, allocations: 0.8618 MB / 0.6609 GB, free: 7.996 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01834/0.2063, allocations: 4.842 MB / 0.6657 GB, free: 3.121 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.2064, allocations: 0 / 0.6657 GB, free: 3.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01295/0.2193, allocations: 4.281 MB / 0.6698 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.2194, allocations: 10.97 kB / 0.6699 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2194, allocations: 0 / 0.6699 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/0.2252, allocations: 1.737 MB / 0.6715 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.2263, allocations: 231.7 kB / 0.6718 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/0.2461, allocations: 9.041 MB / 0.6806 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.2476, allocations: 182.9 kB / 0.6808 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.2478, allocations: 39.98 kB / 0.6808 GB, free: 3.43 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000452/0.2482, allocations: 243 kB / 0.681 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.2484, allocations: 122.4 kB / 0.6812 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.2611, allocations: 4.006 MB / 0.6851 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.2611, allocations: 16 kB / 0.6851 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2611, allocations: 3.938 kB / 0.6851 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.2612, allocations: 3.984 kB / 0.6851 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.2754, allocations: 5.598 MB / 0.6906 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.2755, allocations: 3.938 kB / 0.6906 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.2763, allocations: 143.8 kB / 0.6907 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005634/0.2819, allocations: 1.741 MB / 0.6924 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.2821, allocations: 20 kB / 0.6924 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.2998, allocations: 8.045 MB / 0.7003 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2998, allocations: 7.938 kB / 0.7003 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.314, allocations: 4.952 MB / 0.7051 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.3144, allocations: 199.4 kB / 0.7053 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.3145, allocations: 23.94 kB / 0.7053 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009625/0.3155, allocations: 111.9 kB / 0.7054 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006805/0.3162, allocations: 216.6 kB / 0.7056 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/0.3163, allocations: 27.98 kB / 0.7057 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006884/0.317, allocations: 0.6008 MB / 0.7063 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.317, allocations: 0 / 0.7063 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001098/0.3181, allocations: 443.4 kB / 0.7067 GB, free: 8.562 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0002466/0.3183, allocations: 131.2 kB / 0.7068 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006327/0.3247, allocations: 2.482 MB / 0.7092 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3247, allocations: 64 / 0.7092 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004264/0.3289, allocations: 1.6 MB / 0.7108 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.3296, allocations: 88.36 kB / 0.7109 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.3329, allocations: 2.094 MB / 0.7129 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.3335, allocations: 1.103 MB / 0.714 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.3338, allocations: 75.41 kB / 0.7141 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.3338, allocations: 0 / 0.7141 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of Templates: time 0.2458/0.5796, allocations: 20.35 MB / 0.7339 GB, free: 79.81 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)