Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000859/0.000859, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.163/1.163, allocations: 223.3 MB / 239.3 MB, free: 5.523 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.0008571/0.0008571, allocations: 168.6 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4041/0.4041, allocations: 78.54 MB / 420.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 12 kB / 0.4888 GB, free: 5.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.106, allocations: 69.35 MB / 0.5565 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.1881/0.2942, allocations: 5.83 MB / 0.5622 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.2977, allocations: 1.826 MB / 0.564 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.2981, allocations: 10.69 kB / 0.564 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.2986, allocations: 164.8 kB / 0.5641 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.3002, allocations: 0.625 MB / 0.5647 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3015, allocations: 0.5359 MB / 0.5653 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.3028, allocations: 1.282 MB / 0.5665 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.3032, allocations: 231.7 kB / 0.5667 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.3038, allocations: 0.4985 MB / 0.5672 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00074/0.3046, allocations: 0.6365 MB / 0.5678 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.3047, allocations: 53.22 kB / 0.5679 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.3051, allocations: 179.6 kB / 0.5681 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.3053, allocations: 211.7 kB / 0.5683 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.3058, allocations: 0.5478 MB / 0.5688 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.307, allocations: 1.349 MB / 0.5701 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.307, allocations: 1.969 kB / 0.5701 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.307, allocations: 0 / 0.5701 GB, free: 33.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.307, allocations: 0 / 0.5701 GB, free: 33.52 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.01035/0.3174, allocations: 2.29 MB / 0.5724 GB, free: 32.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3175, allocations: 8.594 kB / 0.5724 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.3177, allocations: 117.6 kB / 0.5725 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008243/0.3259, allocations: 0.7723 MB / 0.5732 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.3272, allocations: 0.7469 MB / 0.574 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.3275, allocations: 260.6 kB / 0.5742 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.3277, allocations: 76.38 kB / 0.5743 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/0.3307, allocations: 1.06 MB / 0.5753 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3308, allocations: 0 / 0.5753 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3309, allocations: 25.5 kB / 0.5753 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.3309, allocations: 17.06 kB / 0.5754 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.3332, allocations: 1.08 MB / 0.5764 GB, free: 31.93 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.004548/0.3378, allocations: 3.339 MB / 0.5797 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3396, allocations: 1.434 MB / 0.5811 GB, free: 30.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.341, allocations: 0.7984 MB / 0.5819 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.3411, allocations: 18.72 kB / 0.5819 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3411, allocations: 38.34 kB / 0.5819 GB, free: 30.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.815e-06/0.3411, allocations: 2.625 kB / 0.5819 GB, free: 30.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02537/0.3665, allocations: 8.152 MB / 0.5899 GB, free: 28.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.3665, allocations: 64.75 kB / 0.5899 GB, free: 28.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000968/0.3675, allocations: 0.8427 MB / 0.5908 GB, free: 28.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/0.3676, allocations: 41.92 kB / 0.5908 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.3678, allocations: 439.1 kB / 0.5912 GB, free: 27.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.3681, allocations: 313.3 kB / 0.5915 GB, free: 27.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.3682, allocations: 99.14 kB / 0.5916 GB, free: 27.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.3683, allocations: 352 kB / 0.5919 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.3697, allocations: 0.7649 MB / 0.5927 GB, free: 27.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.3713, allocations: 0.8987 MB / 0.5936 GB, free: 26.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.3744, allocations: 1.636 MB / 0.5952 GB, free: 26.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3744, allocations: 2.344 kB / 0.5952 GB, free: 26.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01499/0.3894, allocations: 5.186 MB / 0.6002 GB, free: 24.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3894, allocations: 6.188 kB / 0.6002 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3894, allocations: 2.094 kB / 0.6002 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007088/0.3965, allocations: 2.164 MB / 0.6024 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.3973, allocations: 192.5 kB / 0.6025 GB, free: 24.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/0.4176, allocations: 9.704 MB / 0.612 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.419, allocations: 204.7 kB / 0.6122 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.4191, allocations: 35.42 kB / 0.6122 GB, free: 19.79 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 (106): * Single equations (assignments): 105 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003314/0.4194, allocations: 222.2 kB / 0.6125 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.4196, allocations: 107.3 kB / 0.6126 GB, free: 19.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.4319, allocations: 4.801 MB / 0.6172 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.432, allocations: 13.81 kB / 0.6173 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.432, allocations: 0.6875 kB / 0.6173 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.432, allocations: 7.984 kB / 0.6173 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.4451, allocations: 6.346 MB / 0.6235 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.4451, allocations: 0 / 0.6235 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.4456, allocations: 103.9 kB / 0.6236 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005375/0.451, allocations: 2.055 MB / 0.6256 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.4511, allocations: 16 kB / 0.6256 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01572/0.4668, allocations: 8.211 MB / 0.6336 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4668, allocations: 1.406 kB / 0.6336 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.4819, allocations: 5.751 MB / 0.6392 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.4821, allocations: 199.6 kB / 0.6394 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.4822, allocations: 20.55 kB / 0.6394 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.4832, allocations: 127.9 kB / 0.6396 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/0.4837, allocations: 200.5 kB / 0.6397 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.4838, allocations: 24 kB / 0.6398 GB, free: 7.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006288/0.4844, allocations: 0.5741 MB / 0.6403 GB, free: 7.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4844, allocations: 3.938 kB / 0.6403 GB, free: 7.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001063/0.4855, allocations: 427.5 kB / 0.6407 GB, free: 6.777 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (52): * Single equations (assignments): 51 * 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.01544/0.5009, allocations: 6.333 MB / 0.6469 GB, free: 424 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006695/0.5076, allocations: 2.667 MB / 0.6495 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5077, allocations: 0.5625 kB / 0.6495 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004551/0.5122, allocations: 1.72 MB / 0.6512 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.5128, allocations: 80.14 kB / 0.6513 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03807/0.5509, allocations: 17.73 MB / 0.6686 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.5514, allocations: 1.047 MB / 0.6696 GB, free: 8.832 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.5518, allocations: 87.31 kB / 0.6697 GB, free: 8.746 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.5522, allocations: 383.3 kB / 0.6701 GB, free: 8.371 MB / 478.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5522, allocations: 0 / 0.6701 GB, free: 8.371 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/0.594, allocations: 29.08 MB / 0.6985 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.5943, allocations: 212.8 kB / 0.6987 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.796, allocations: 0 / 0.6987 GB, free: 11.34 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)