Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_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.001236/0.001236, allocations: 99.36 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.403/1.403, allocations: 222.9 MB / 239 MB, free: 4.711 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.001523/0.001523, allocations: 192.5 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5391/0.5391, allocations: 91.9 MB / 431.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 75.88 kB / 0.5015 GB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4099, allocations: 71.26 MB / 0.5711 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.00576/0.4157, allocations: 6.31 MB / 0.5772 GB, free: 32.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003909/0.4196, allocations: 1.832 MB / 0.579 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.4207, allocations: 18.88 kB / 0.5791 GB, free: 31.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.4213, allocations: 161.6 kB / 0.5792 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.4233, allocations: 0.6224 MB / 0.5798 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.4246, allocations: 0.5334 MB / 0.5803 GB, free: 30.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.4262, allocations: 1.337 MB / 0.5816 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.4267, allocations: 283.2 kB / 0.5819 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007429/0.4274, allocations: 0.5538 MB / 0.5825 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.428, allocations: 0.7017 MB / 0.5831 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.4282, allocations: 103.9 kB / 0.5832 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005015/0.4287, allocations: 232.9 kB / 0.5835 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.4289, allocations: 265.1 kB / 0.5837 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.4293, allocations: 0.5764 MB / 0.5843 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.4306, allocations: 1.414 MB / 0.5857 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.4306, allocations: 0 / 0.5857 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.4307, allocations: 2.812 kB / 0.5857 GB, free: 28.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.4307, allocations: 0 / 0.5857 GB, free: 28.29 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.007975/0.4387, allocations: 2.441 MB / 0.588 GB, free: 27.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.4387, allocations: 9.906 kB / 0.5881 GB, free: 27.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.4389, allocations: 114.3 kB / 0.5882 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.4438, allocations: 0.7607 MB / 0.5889 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.4452, allocations: 0.7554 MB / 0.5896 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.4455, allocations: 245.8 kB / 0.5899 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.4457, allocations: 69.91 kB / 0.5899 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.4478, allocations: 0.9841 MB / 0.5909 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.4479, allocations: 4 kB / 0.5909 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.448, allocations: 25.59 kB / 0.5909 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.448, allocations: 17.16 kB / 0.5909 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.4501, allocations: 0.9882 MB / 0.5919 GB, free: 25.48 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.005681/0.4558, allocations: 3.291 MB / 0.5951 GB, free: 23.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.4581, allocations: 1.357 MB / 0.5965 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.4596, allocations: 0.7218 MB / 0.5972 GB, free: 22.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.4597, allocations: 13.16 kB / 0.5972 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.4598, allocations: 41.92 kB / 0.5972 GB, free: 22.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.677e-06/0.4598, allocations: 0 / 0.5972 GB, free: 22.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02699/0.4868, allocations: 6.556 MB / 0.6036 GB, free: 21.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.4869, allocations: 65.38 kB / 0.6037 GB, free: 21.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.4882, allocations: 0.8438 MB / 0.6045 GB, free: 20.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.4884, allocations: 41.33 kB / 0.6045 GB, free: 20.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.4887, allocations: 448.4 kB / 0.605 GB, free: 20.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.489, allocations: 308.5 kB / 0.6053 GB, free: 20.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.4894, allocations: 198.5 kB / 0.6055 GB, free: 19.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.4895, allocations: 348.7 kB / 0.6058 GB, free: 19.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.491, allocations: 0.69 MB / 0.6065 GB, free: 19.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.4926, allocations: 0.8247 MB / 0.6073 GB, free: 18.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.4954, allocations: 1.49 MB / 0.6087 GB, free: 18.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4955, allocations: 1.156 kB / 0.6087 GB, free: 18.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01431/0.5098, allocations: 4.272 MB / 0.6129 GB, free: 17.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.5098, allocations: 6.375 kB / 0.6129 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.5099, allocations: 3.484 kB / 0.6129 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007096/0.517, allocations: 1.855 MB / 0.6147 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.5181, allocations: 189.4 kB / 0.6149 GB, free: 16.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.5382, allocations: 9.476 MB / 0.6241 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.5402, allocations: 162.9 kB / 0.6243 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.992e-05/0.5403, allocations: 36 kB / 0.6243 GB, free: 7.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 (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.0005203/0.5408, allocations: 229.6 kB / 0.6246 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.541, allocations: 106.6 kB / 0.6247 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/0.5548, allocations: 3.888 MB / 0.6285 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.5549, allocations: 8 kB / 0.6285 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.5549, allocations: 0 / 0.6285 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/0.555, allocations: 3.984 kB / 0.6285 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02194/0.5769, allocations: 5.431 MB / 0.6338 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/0.577, allocations: 3.938 kB / 0.6338 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.5781, allocations: 95.89 kB / 0.6339 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008903/0.587, allocations: 1.753 MB / 0.6356 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/0.5873, allocations: 12 kB / 0.6356 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02572/0.613, allocations: 8.072 MB / 0.6435 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6131, allocations: 7.969 kB / 0.6435 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/0.6291, allocations: 4.766 MB / 0.6481 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/0.6297, allocations: 203.6 kB / 0.6483 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004199/0.6301, allocations: 16 kB / 0.6483 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.6315, allocations: 87.89 kB / 0.6484 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008265/0.6323, allocations: 196.7 kB / 0.6486 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.6324, allocations: 31.98 kB / 0.6486 GB, free: 14.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.6335, allocations: 0.5663 MB / 0.6492 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6335, allocations: 0 / 0.6492 GB, free: 13.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001951/0.6355, allocations: 431.6 kB / 0.6496 GB, free: 13.38 MB / 462.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.01593/0.6514, allocations: 5.346 MB / 0.6548 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007584/0.659, allocations: 2.423 MB / 0.6572 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6591, allocations: 64 / 0.6572 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004869/0.6639, allocations: 1.527 MB / 0.6587 GB, free: 4.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.6653, allocations: 79.33 kB / 0.6588 GB, free: 3.938 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04201/0.7073, allocations: 15.74 MB / 0.6741 GB, free: 3.844 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/0.7084, allocations: 1.049 MB / 0.6752 GB, free: 2.766 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005516/0.7089, allocations: 78.45 kB / 0.6752 GB, free: 2.684 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000729/0.7097, allocations: 387.3 kB / 0.6756 GB, free: 2.309 MB / 478.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7097, allocations: 3.938 kB / 0.6756 GB, free: 2.305 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06592/0.7756, allocations: 31.04 MB / 0.7059 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.7759, allocations: 218.5 kB / 0.7061 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/3.735, allocations: 0 / 0.7061 GB, free: 3.176 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)