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.077/0.077, allocations: 12.6 MB / 28.9 MB, free: 0.6328 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.001042/0.001042, allocations: 115.5 kB / 32.5 MB, free: 3.57 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.271/1.271, 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.001324/0.001324, allocations: 195.2 kB / 291.4 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4289/0.4289, 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.0026/0.0026, allocations: 138.6 kB / 0.5565 GB, free: 17.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1184, allocations: 68.13 MB / 0.6231 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006124/0.1245, allocations: 5.84 MB / 0.6288 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.1284, allocations: 1.713 MB / 0.6304 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008908/0.1293, allocations: 12 kB / 0.6304 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.13, allocations: 206.3 kB / 0.6306 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.1323, allocations: 0.6832 MB / 0.6313 GB, free: 4.641 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.001347/0.1336, allocations: 0.5686 MB / 0.6319 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.1354, allocations: 1.257 MB / 0.6331 GB, free: 2.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.1359, allocations: 267.2 kB / 0.6333 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009021/0.1368, allocations: 0.5251 MB / 0.6339 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009873/0.1378, allocations: 0.6416 MB / 0.6345 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.1381, allocations: 88 kB / 0.6346 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006079/0.1387, allocations: 223.9 kB / 0.6348 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.1389, allocations: 242.9 kB / 0.635 GB, free: 0.832 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006487/0.1396, allocations: 0.5475 MB / 0.6355 GB, free: 288 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1412, allocations: 1.351 MB / 0.6369 GB, free: 14.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1412, allocations: 0 / 0.6369 GB, free: 14.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1412, allocations: 4 kB / 0.6369 GB, free: 14.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.984e-05/0.1413, allocations: 0 / 0.6369 GB, free: 14.92 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.007404/0.1487, allocations: 2.352 MB / 0.6392 GB, free: 12.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1487, allocations: 11.98 kB / 0.6392 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.1536, allocations: 0.7556 MB / 0.6399 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.1549, allocations: 0.7127 MB / 0.6406 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.1552, allocations: 252.1 kB / 0.6409 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.1555, allocations: 72 kB / 0.6409 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.1575, allocations: 0.9598 MB / 0.6419 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1576, allocations: 7.938 kB / 0.6419 GB, free: 9.664 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.1577, allocations: 24 kB / 0.6419 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1577, allocations: 20 kB / 0.6419 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.1597, allocations: 0.976 MB / 0.6429 GB, free: 8.641 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.005309/0.165, allocations: 3.158 MB / 0.6459 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.1669, allocations: 1.317 MB / 0.6472 GB, free: 3.891 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.1682, allocations: 0.7048 MB / 0.6479 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.831e-05/0.1683, allocations: 12.98 kB / 0.6479 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1684, allocations: 43.56 kB / 0.648 GB, free: 3.121 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 4.999e-06/0.1684, allocations: 0 / 0.648 GB, free: 3.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02388/0.1923, allocations: 6.477 MB / 0.6543 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1924, allocations: 64.34 kB / 0.6544 GB, free: 12.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.1935, allocations: 0.7945 MB / 0.6551 GB, free: 11.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.1937, allocations: 37.7 kB / 0.6552 GB, free: 11.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.194, allocations: 436.4 kB / 0.6556 GB, free: 11.26 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.1944, allocations: 299.7 kB / 0.6559 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/0.1948, allocations: 186.9 kB / 0.6561 GB, free: 10.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1949, allocations: 345.9 kB / 0.6564 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.1963, allocations: 0.6584 MB / 0.657 GB, free: 9.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.1977, allocations: 0.7835 MB / 0.6578 GB, free: 8.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/0.2142, allocations: 4.52 MB / 0.6622 GB, free: 4.398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.2142, allocations: 4 kB / 0.6622 GB, free: 4.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01237/0.2266, allocations: 4.075 MB / 0.6662 GB, free: 308 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.2267, allocations: 4 kB / 0.6662 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.2267, allocations: 4 kB / 0.6662 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00554/0.2323, allocations: 1.738 MB / 0.6679 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/0.2332, allocations: 179.7 kB / 0.6681 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/0.2531, allocations: 9.049 MB / 0.6769 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.2545, allocations: 151 kB / 0.677 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.2547, allocations: 44 kB / 0.6771 GB, free: 4.969 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.0005617/0.2552, allocations: 233.5 kB / 0.6773 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.2555, allocations: 98.78 kB / 0.6774 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.2675, allocations: 3.813 MB / 0.6811 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.2675, allocations: 15.94 kB / 0.6811 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2675, allocations: 4 kB / 0.6811 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/0.2676, allocations: 3.984 kB / 0.6812 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2782/0.5458, allocations: 5.366 MB / 0.6864 GB, free: 52.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.5458, allocations: 1.125 kB / 0.6864 GB, free: 52.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.5465, allocations: 94.08 kB / 0.6865 GB, free: 52.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006145/0.5526, allocations: 1.742 MB / 0.6882 GB, free: 52.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.5528, allocations: 14.5 kB / 0.6882 GB, free: 52.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.5711, allocations: 8.047 MB / 0.6961 GB, free: 49.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5712, allocations: 0 / 0.6961 GB, free: 49.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.5846, allocations: 4.742 MB / 0.7007 GB, free: 47.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.585, allocations: 185.9 kB / 0.7009 GB, free: 47.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.5852, allocations: 20.11 kB / 0.7009 GB, free: 47.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008702/0.586, allocations: 91.17 kB / 0.701 GB, free: 47.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006505/0.5867, allocations: 205.5 kB / 0.7012 GB, free: 47.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.5868, allocations: 17.41 kB / 0.7012 GB, free: 47.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006379/0.5874, allocations: 0.5323 MB / 0.7017 GB, free: 47.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5874, allocations: 0.9688 kB / 0.7017 GB, free: 47.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001263/0.5887, allocations: 404.1 kB / 0.7021 GB, free: 47.39 MB / 494.1 MB 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 (50): * Single equations (assignments): 49 * 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.00027/0.589, allocations: 131.3 kB / 0.7022 GB, free: 47.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005812/0.5948, allocations: 2.304 MB / 0.7045 GB, free: 46.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5948, allocations: 0.5625 kB / 0.7045 GB, free: 46.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004198/0.599, allocations: 1.514 MB / 0.7059 GB, free: 45.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007743/0.5998, allocations: 80.88 kB / 0.706 GB, free: 45.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.6027, allocations: 1.821 MB / 0.7078 GB, free: 44.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.6031, allocations: 1.031 MB / 0.7088 GB, free: 44.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.6033, allocations: 67.25 kB / 0.7089 GB, free: 44.16 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6033, allocations: 0 / 0.7089 GB, free: 44.16 MB / 494.1 MB Notification: Performance of Templates: time 0.01814/0.6215, allocations: 18.03 MB / 0.7265 GB, free: 29.82 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)