Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08374/0.08374, allocations: 12.6 MB / 28.91 MB, free: 0.5938 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.001035/0.001035, allocations: 111.5 kB / 32.51 MB, free: 3.535 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.38/1.38, allocations: 205.1 MB / 241.1 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.001402/0.001403, allocations: 187.3 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.4421/0.4421, allocations: 78.5 MB / 420 MB, free: 11.23 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.002632/0.002632, allocations: 139.8 kB / 0.5565 GB, free: 28.4 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1252, allocations: 68.13 MB / 0.6231 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006134/0.1313, allocations: 5.842 MB / 0.6288 GB, free: 9.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.1349, allocations: 1.713 MB / 0.6304 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.1355, allocations: 12 kB / 0.6304 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.136, allocations: 210.3 kB / 0.6306 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.1377, allocations: 0.7347 MB / 0.6314 GB, free: 6.852 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.001185/0.1389, allocations: 0.5596 MB / 0.6319 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.1402, allocations: 1.253 MB / 0.6331 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.1406, allocations: 275.2 kB / 0.6334 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.1413, allocations: 0.529 MB / 0.6339 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.142, allocations: 0.6377 MB / 0.6345 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.1421, allocations: 88 kB / 0.6346 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.1426, allocations: 223.9 kB / 0.6348 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.1428, allocations: 238.9 kB / 0.6351 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.1432, allocations: 0.5553 MB / 0.6356 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.1444, allocations: 1.347 MB / 0.6369 GB, free: 1.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1445, allocations: 0 / 0.6369 GB, free: 1.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1445, allocations: 0 / 0.6369 GB, free: 1.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.1445, allocations: 4 kB / 0.6369 GB, free: 1.133 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007318/0.1518, allocations: 2.349 MB / 0.6392 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1519, allocations: 11.98 kB / 0.6392 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.1568, allocations: 0.7635 MB / 0.64 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.158, allocations: 0.7126 MB / 0.6407 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.1583, allocations: 252.1 kB / 0.6409 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.1584, allocations: 71.98 kB / 0.641 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.1604, allocations: 0.9521 MB / 0.6419 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1604, allocations: 3.938 kB / 0.6419 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.1605, allocations: 31.98 kB / 0.6419 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.1606, allocations: 19.94 kB / 0.642 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.1626, allocations: 0.976 MB / 0.6429 GB, free: 10.85 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.00501/0.1676, allocations: 3.159 MB / 0.646 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.1697, allocations: 1.313 MB / 0.6473 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.171, allocations: 0.7126 MB / 0.648 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.531e-05/0.1711, allocations: 9 kB / 0.648 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1712, allocations: 43.56 kB / 0.648 GB, free: 5.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.746e-06/0.1712, allocations: 0 / 0.648 GB, free: 5.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02578/0.197, allocations: 6.485 MB / 0.6544 GB, free: 14.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1971, allocations: 60.41 kB / 0.6544 GB, free: 14.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.1981, allocations: 0.7945 MB / 0.6552 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.1983, allocations: 41.7 kB / 0.6552 GB, free: 13.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1986, allocations: 436.4 kB / 0.6556 GB, free: 13.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.199, allocations: 303.7 kB / 0.6559 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/0.1993, allocations: 182.9 kB / 0.6561 GB, free: 12.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1994, allocations: 345.9 kB / 0.6564 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.2009, allocations: 0.6584 MB / 0.6571 GB, free: 11.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.2024, allocations: 0.7874 MB / 0.6579 GB, free: 11.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/0.2202, allocations: 4.52 MB / 0.6623 GB, free: 6.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.2203, allocations: 0 / 0.6623 GB, free: 6.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01354/0.2338, allocations: 4.071 MB / 0.6662 GB, free: 2.516 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.2339, allocations: 8 kB / 0.6663 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2339, allocations: 0 / 0.6663 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006173/0.2401, allocations: 1.738 MB / 0.6679 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2411, allocations: 191.7 kB / 0.6681 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/0.263, allocations: 9.053 MB / 0.677 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.2644, allocations: 155 kB / 0.6771 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.2646, allocations: 35.98 kB / 0.6772 GB, free: 7.176 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 (101): * Single equations (assignments): 100 * 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.000474/0.2651, allocations: 225.6 kB / 0.6774 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.2653, allocations: 98.78 kB / 0.6775 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.2785, allocations: 3.817 MB / 0.6812 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.2786, allocations: 3.984 kB / 0.6812 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2786, allocations: 3.938 kB / 0.6812 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.2789, allocations: 191.6 kB / 0.6814 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.279, allocations: 16 kB / 0.6814 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/0.28, allocations: 87.89 kB / 0.6815 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/0.2812, allocations: 488.2 kB / 0.6819 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005448/0.2866, allocations: 1.907 MB / 0.6838 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004174/0.2908, allocations: 2.052 MB / 0.6858 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001262/0.2921, allocations: 0.5387 MB / 0.6863 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006825/0.2928, allocations: 0.5302 MB / 0.6869 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of Backend: time 6.52e-07/0.2928, allocations: 0 / 0.6869 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005846/0.2987, allocations: 1.871 MB / 0.6887 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002851/0.3015, allocations: 2.379 MB / 0.691 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of Templates: time 0.03286/0.3344, allocations: 20.79 MB / 0.7113 GB, free: 4.047 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)