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.001271/0.001271, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.318/1.318, allocations: 222.9 MB / 239 MB, free: 4.77 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.00132/0.00132, allocations: 192.4 kB / 289.3 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.505/0.505, allocations: 91.88 MB / 431.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.001571, allocations: 75.88 kB / 0.5014 GB, free: 8.066 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3504, allocations: 71.26 MB / 0.571 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005035/0.3554, allocations: 6.195 MB / 0.577 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.3589, allocations: 1.796 MB / 0.5788 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007595/0.3597, allocations: 11.5 kB / 0.5788 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.3602, allocations: 163.2 kB / 0.5789 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.3616, allocations: 0.6193 MB / 0.5796 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3626, allocations: 0.529 MB / 0.5801 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3637, allocations: 1.27 MB / 0.5813 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.364, allocations: 285.2 kB / 0.5816 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.3645, allocations: 0.5373 MB / 0.5821 GB, free: 30 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.3651, allocations: 0.658 MB / 0.5827 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.3652, allocations: 89.47 kB / 0.5828 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.3656, allocations: 230.2 kB / 0.5831 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3658, allocations: 244.6 kB / 0.5833 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.3661, allocations: 0.5633 MB / 0.5838 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3672, allocations: 1.373 MB / 0.5852 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3672, allocations: 0 / 0.5852 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3672, allocations: 0 / 0.5852 GB, free: 28.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.3672, allocations: 0 / 0.5852 GB, free: 28.46 MB / 430.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.007726/0.3749, allocations: 2.382 MB / 0.5875 GB, free: 27.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.375, allocations: 9 kB / 0.5875 GB, free: 27.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.38, allocations: 0.7595 MB / 0.5883 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3811, allocations: 0.7205 MB / 0.589 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.3813, allocations: 248 kB / 0.5892 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3814, allocations: 72.34 kB / 0.5893 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.3834, allocations: 0.9626 MB / 0.5902 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.3834, allocations: 3.938 kB / 0.5902 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.3835, allocations: 34.34 kB / 0.5902 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.3835, allocations: 15.97 kB / 0.5903 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.3855, allocations: 0.9802 MB / 0.5912 GB, free: 25.78 MB / 430.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.004847/0.3903, allocations: 3.223 MB / 0.5944 GB, free: 23.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.3922, allocations: 1.342 MB / 0.5957 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.3936, allocations: 0.7067 MB / 0.5964 GB, free: 22.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.3937, allocations: 18.08 kB / 0.5964 GB, free: 22.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.3937, allocations: 47.38 kB / 0.5964 GB, free: 22.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.645e-06/0.3938, allocations: 0 / 0.5964 GB, free: 22.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02573/0.4195, allocations: 6.376 MB / 0.6027 GB, free: 21.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.4196, allocations: 61.28 kB / 0.6027 GB, free: 21.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.4206, allocations: 0.8106 MB / 0.6035 GB, free: 21.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.4208, allocations: 41.92 kB / 0.6035 GB, free: 20.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.4211, allocations: 424.6 kB / 0.6039 GB, free: 20.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.4214, allocations: 304.6 kB / 0.6042 GB, free: 20.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003733/0.4217, allocations: 192.5 kB / 0.6044 GB, free: 20.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.4218, allocations: 349.4 kB / 0.6048 GB, free: 19.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.4233, allocations: 0.6744 MB / 0.6054 GB, free: 19.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.4248, allocations: 0.8 MB / 0.6062 GB, free: 19.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.4276, allocations: 1.466 MB / 0.6076 GB, free: 18.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4276, allocations: 1.375 kB / 0.6076 GB, free: 18.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01416/0.4418, allocations: 4.209 MB / 0.6117 GB, free: 17.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.4419, allocations: 7.078 kB / 0.6117 GB, free: 17.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4419, allocations: 1.375 kB / 0.6117 GB, free: 17.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00713/0.449, allocations: 1.875 MB / 0.6136 GB, free: 17.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/0.4499, allocations: 175.2 kB / 0.6137 GB, free: 17.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/0.47, allocations: 9.565 MB / 0.6231 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.4715, allocations: 159 kB / 0.6232 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.4716, allocations: 35.98 kB / 0.6233 GB, free: 8.637 MB / 430.1 MB 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.000371/0.472, allocations: 225.6 kB / 0.6235 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.4721, allocations: 110.6 kB / 0.6236 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.4839, allocations: 3.883 MB / 0.6274 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.484, allocations: 8 kB / 0.6274 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.484, allocations: 0 / 0.6274 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.484, allocations: 3.984 kB / 0.6274 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.4974, allocations: 5.361 MB / 0.6326 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.4975, allocations: 3.938 kB / 0.6326 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.4981, allocations: 95.88 kB / 0.6327 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00604/0.5042, allocations: 1.749 MB / 0.6344 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/0.5044, allocations: 16 kB / 0.6344 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01871/0.5231, allocations: 8.072 MB / 0.6423 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5232, allocations: 4 kB / 0.6423 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.5377, allocations: 4.712 MB / 0.6469 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.5381, allocations: 191.6 kB / 0.6471 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.5383, allocations: 20 kB / 0.6471 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.5393, allocations: 91.89 kB / 0.6472 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/0.5399, allocations: 196.7 kB / 0.6474 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/0.54, allocations: 23.98 kB / 0.6474 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006741/0.5407, allocations: 0.5422 MB / 0.648 GB, free: 14.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5407, allocations: 0 / 0.648 GB, free: 14.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001185/0.5419, allocations: 415.6 kB / 0.6484 GB, free: 14.56 MB / 462.1 MB 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.0002488/0.5422, allocations: 135 kB / 0.6485 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007085/0.5493, allocations: 2.411 MB / 0.6508 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5493, allocations: 0 / 0.6508 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004747/0.5541, allocations: 1.519 MB / 0.6523 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5552, allocations: 75.34 kB / 0.6524 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.5593, allocations: 2.222 MB / 0.6546 GB, free: 8.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.5599, allocations: 1.037 MB / 0.6556 GB, free: 7.082 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004211/0.5604, allocations: 82.3 kB / 0.6557 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.5606, allocations: 63.36 kB / 0.6557 GB, free: 6.938 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5606, allocations: 0 / 0.6557 GB, free: 6.938 MB / 462.1 MB Notification: Performance of Templates: time 0.03605/0.5967, allocations: 22.12 MB / 0.6773 GB, free: 0.8438 MB / 478.1 MB 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)