Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005154/0.005154, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 239.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 204.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5198/0.5198, allocations: 91.89 MB / 431.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 78.77 kB / 0.5727 GB, free: 33.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1349, allocations: 71.29 MB / 0.6423 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.007508/0.1425, allocations: 5.853 MB / 0.6481 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.1469, allocations: 1.763 MB / 0.6498 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.1481, allocations: 11.94 kB / 0.6498 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009008/0.149, allocations: 202.3 kB / 0.65 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.1514, allocations: 0.7456 MB / 0.6507 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.1529, allocations: 0.5649 MB / 0.6513 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1547, allocations: 1.28 MB / 0.6525 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005498/0.1553, allocations: 283 kB / 0.6528 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008732/0.1562, allocations: 0.5368 MB / 0.6533 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009307/0.1571, allocations: 0.6572 MB / 0.6539 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.1574, allocations: 92 kB / 0.654 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005895/0.158, allocations: 227.8 kB / 0.6542 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.1583, allocations: 255 kB / 0.6545 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007159/0.159, allocations: 0.5553 MB / 0.655 GB, free: 6.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.1607, allocations: 1.382 MB / 0.6564 GB, free: 5.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1607, allocations: 0 / 0.6564 GB, free: 5.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1607, allocations: 0 / 0.6564 GB, free: 5.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.668e-05/0.1607, allocations: 0 / 0.6564 GB, free: 5.23 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007975/0.1687, allocations: 2.38 MB / 0.6587 GB, free: 2.797 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1688, allocations: 8.031 kB / 0.6587 GB, free: 2.789 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005091/0.1738, allocations: 0.7635 MB / 0.6595 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.175, allocations: 0.7127 MB / 0.6602 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.1753, allocations: 252.2 kB / 0.6604 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.1756, allocations: 68 kB / 0.6605 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.1776, allocations: 0.9716 MB / 0.6614 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1777, allocations: 3.938 kB / 0.6614 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.1778, allocations: 24 kB / 0.6614 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1778, allocations: 16 kB / 0.6615 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.1801, allocations: 0.9876 MB / 0.6624 GB, free: 14.91 MB / 478.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.005361/0.1854, allocations: 3.205 MB / 0.6655 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.1875, allocations: 1.328 MB / 0.6668 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.1891, allocations: 0.7149 MB / 0.6675 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.682e-05/0.1892, allocations: 13 kB / 0.6676 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1892, allocations: 43.56 kB / 0.6676 GB, free: 9.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 2.424e-06/0.1892, allocations: 3.938 kB / 0.6676 GB, free: 9.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.02624/0.2154, allocations: 6.379 MB / 0.6738 GB, free: 2.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.2155, allocations: 60.41 kB / 0.6739 GB, free: 2.824 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2167, allocations: 0.8026 MB / 0.6747 GB, free: 1.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.2169, allocations: 41.7 kB / 0.6747 GB, free: 1.949 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.2173, allocations: 436.5 kB / 0.6751 GB, free: 1.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.2176, allocations: 299.6 kB / 0.6754 GB, free: 1.219 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/0.218, allocations: 198.8 kB / 0.6756 GB, free: 1.016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2181, allocations: 345.9 kB / 0.6759 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.2197, allocations: 0.6741 MB / 0.6766 GB, free: 0 / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.2214, allocations: 0.8033 MB / 0.6774 GB, free: 15.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.2245, allocations: 1.463 MB / 0.6788 GB, free: 13.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2245, allocations: 4 kB / 0.6788 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01485/0.2394, allocations: 4.2 MB / 0.6829 GB, free: 9.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.2394, allocations: 11.98 kB / 0.6829 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2394, allocations: 0 / 0.6829 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007565/0.247, allocations: 1.869 MB / 0.6847 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009825/0.248, allocations: 179.7 kB / 0.6849 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02512/0.2732, allocations: 9.548 MB / 0.6942 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.2748, allocations: 159 kB / 0.6944 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.275, allocations: 39.98 kB / 0.6944 GB, free: 13.5 MB / 0.4981 GB 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0007149/0.2757, allocations: 221.7 kB / 0.6946 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.2761, allocations: 106.6 kB / 0.6947 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.2898, allocations: 3.88 MB / 0.6985 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.2898, allocations: 8 kB / 0.6985 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2899, allocations: 4 kB / 0.6985 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.2899, allocations: 3.984 kB / 0.6985 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.3058, allocations: 5.364 MB / 0.7038 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.3058, allocations: 0 / 0.7038 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.3065, allocations: 91.89 kB / 0.7039 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006541/0.313, allocations: 1.737 MB / 0.7056 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.3133, allocations: 16 kB / 0.7056 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.3339, allocations: 8.071 MB / 0.7135 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3339, allocations: 0 / 0.7135 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/0.3493, allocations: 4.712 MB / 0.7181 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.3497, allocations: 199.6 kB / 0.7183 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.35, allocations: 12 kB / 0.7183 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.3511, allocations: 87.89 kB / 0.7184 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/0.3517, allocations: 196.7 kB / 0.7185 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.327e-05/0.3518, allocations: 28 kB / 0.7186 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007143/0.3526, allocations: 0.5421 MB / 0.7191 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3526, allocations: 0 / 0.7191 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001292/0.3539, allocations: 419.5 kB / 0.7195 GB, free: 3.461 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (51): * Single equations (assignments): 50 * 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.0002876/0.3542, allocations: 131.1 kB / 0.7196 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007171/0.3613, allocations: 2.379 MB / 0.7219 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3614, allocations: 0 / 0.7219 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005196/0.3666, allocations: 1.531 MB / 0.7234 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/0.3676, allocations: 83.27 kB / 0.7235 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.3712, allocations: 1.838 MB / 0.7253 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.372, allocations: 1.041 MB / 0.7263 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003541/0.3724, allocations: 78.31 kB / 0.7264 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.3727, allocations: 59.38 kB / 0.7265 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.3727, allocations: 0 / 0.7265 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.03815/0.4109, allocations: 23.35 MB / 0.7493 GB, free: 4.891 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)