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.1305/0.1305, allocations: 12.6 MB / 28.91 MB, free: 0.6094 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.00147/0.00147, allocations: 107.5 kB / 32.51 MB, free: 3.551 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.485/1.485, 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.001584/0.001583, allocations: 199.3 kB / 291.4 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4397/0.4397, allocations: 78.51 MB / 420 MB, free: 10.75 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.002594/0.002594, allocations: 139.6 kB / 0.5565 GB, free: 17.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1517, allocations: 68.12 MB / 0.6231 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006392/0.1581, allocations: 5.848 MB / 0.6288 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004273/0.1624, allocations: 1.709 MB / 0.6304 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.1641, allocations: 12 kB / 0.6305 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.1648, allocations: 206.2 kB / 0.6307 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.1675, allocations: 0.7322 MB / 0.6314 GB, free: 4.59 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.001448/0.1689, allocations: 0.5684 MB / 0.6319 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.1707, allocations: 1.253 MB / 0.6331 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004392/0.1712, allocations: 275.2 kB / 0.6334 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006813/0.1718, allocations: 0.5251 MB / 0.6339 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.1726, allocations: 0.6455 MB / 0.6345 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.1727, allocations: 88 kB / 0.6346 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.1732, allocations: 223.9 kB / 0.6348 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1734, allocations: 242.9 kB / 0.6351 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.1739, allocations: 0.5514 MB / 0.6356 GB, free: 220 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.1753, allocations: 1.358 MB / 0.6369 GB, free: 14.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1754, allocations: 0 / 0.6369 GB, free: 14.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1754, allocations: 0 / 0.6369 GB, free: 14.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1754, allocations: 0 / 0.6369 GB, free: 14.85 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007478/0.1829, allocations: 2.379 MB / 0.6393 GB, free: 12.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.1829, allocations: 11.98 kB / 0.6393 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/0.1877, allocations: 0.7641 MB / 0.64 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1891, allocations: 0.7213 MB / 0.6407 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.1894, allocations: 256.1 kB / 0.641 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.1895, allocations: 64 kB / 0.641 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.1916, allocations: 0.9638 MB / 0.642 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1916, allocations: 3.938 kB / 0.642 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.1917, allocations: 27.98 kB / 0.642 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1917, allocations: 16 kB / 0.642 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.1938, allocations: 0.976 MB / 0.643 GB, free: 8.531 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.005506/0.1993, allocations: 3.159 MB / 0.6461 GB, free: 5.219 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.2014, allocations: 1.314 MB / 0.6473 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.2028, allocations: 0.7087 MB / 0.648 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.2029, allocations: 12.98 kB / 0.648 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.203, allocations: 43.56 kB / 0.6481 GB, free: 3.012 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 5.44e-06/0.203, allocations: 0 / 0.6481 GB, free: 3.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02463/0.2276, allocations: 6.481 MB / 0.6544 GB, free: 12.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2277, allocations: 68.34 kB / 0.6545 GB, free: 12.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.2291, allocations: 0.7984 MB / 0.6553 GB, free: 11.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.2293, allocations: 41.7 kB / 0.6553 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.2298, allocations: 437.1 kB / 0.6557 GB, free: 11.13 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005068/0.2303, allocations: 313.3 kB / 0.656 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.2308, allocations: 182.9 kB / 0.6562 GB, free: 10.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.231, allocations: 357.9 kB / 0.6565 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.2325, allocations: 0.6545 MB / 0.6572 GB, free: 9.629 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.2341, allocations: 0.7913 MB / 0.6579 GB, free: 8.805 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01747/0.2516, allocations: 4.52 MB / 0.6624 GB, free: 4.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.2516, allocations: 0 / 0.6624 GB, free: 4.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01337/0.265, allocations: 4.075 MB / 0.6663 GB, free: 160 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.265, allocations: 4 kB / 0.6663 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2651, allocations: 8 kB / 0.6663 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005914/0.271, allocations: 1.73 MB / 0.668 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.272, allocations: 191.7 kB / 0.6682 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/0.2934, allocations: 9.062 MB / 0.6771 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.295, allocations: 155.3 kB / 0.6772 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.2952, allocations: 35.98 kB / 0.6773 GB, free: 4.812 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.0006688/0.2959, allocations: 229.5 kB / 0.6775 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.2962, allocations: 115.2 kB / 0.6776 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.3084, allocations: 3.813 MB / 0.6813 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/0.3084, allocations: 3.984 kB / 0.6813 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.3084, allocations: 3.938 kB / 0.6813 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.3089, allocations: 196.2 kB / 0.6815 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.3092, allocations: 12 kB / 0.6815 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.3103, allocations: 91.89 kB / 0.6816 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3436/0.6539, allocations: 482.4 kB / 0.6821 GB, free: 53.86 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005913/0.6598, allocations: 1.904 MB / 0.6839 GB, free: 53.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004536/0.6644, allocations: 2.061 MB / 0.6859 GB, free: 53.34 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001322/0.6658, allocations: 0.5387 MB / 0.6865 GB, free: 53.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008332/0.6666, allocations: 0.5346 MB / 0.687 GB, free: 52.93 MB / 494.1 MB Notification: Performance of Backend: time 4.11e-07/0.6666, allocations: 0 / 0.687 GB, free: 52.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006005/0.6726, allocations: 1.871 MB / 0.6888 GB, free: 52.26 MB / 494.1 MB Notification: Performance of SimCode: time 0.003253/0.6759, allocations: 2.416 MB / 0.6912 GB, free: 50.81 MB / 494.1 MB Notification: Performance of Templates: time 0.03559/0.7115, allocations: 20.79 MB / 0.7115 GB, free: 44.94 MB / 494.1 MB 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)