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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.329/1.329, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001643/0.001643, allocations: 196.5 kB / 289.2 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.555/0.555, allocations: 91.9 MB / 431.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 79.86 kB / 0.5013 GB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.374, allocations: 71.26 MB / 0.5709 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005477/0.3795, allocations: 6.318 MB / 0.5771 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.3825, allocations: 1.842 MB / 0.5789 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.3829, allocations: 14.69 kB / 0.5789 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.3834, allocations: 163 kB / 0.579 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3847, allocations: 0.6362 MB / 0.5797 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.3857, allocations: 0.5359 MB / 0.5802 GB, free: 31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009761/0.3867, allocations: 1.278 MB / 0.5814 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.387, allocations: 252.2 kB / 0.5817 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.3875, allocations: 0.5127 MB / 0.5822 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.3881, allocations: 0.6652 MB / 0.5828 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.3882, allocations: 61.91 kB / 0.5829 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.3885, allocations: 188.6 kB / 0.5831 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3887, allocations: 232.9 kB / 0.5833 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.3891, allocations: 0.5355 MB / 0.5838 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009551/0.39, allocations: 1.386 MB / 0.5852 GB, free: 28.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3901, allocations: 0 / 0.5852 GB, free: 28.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3901, allocations: 0 / 0.5852 GB, free: 28.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3901, allocations: 0 / 0.5852 GB, free: 28.56 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.00763/0.3977, allocations: 2.437 MB / 0.5875 GB, free: 27.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3978, allocations: 9.562 kB / 0.5876 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.3979, allocations: 118.5 kB / 0.5877 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004821/0.4028, allocations: 0.7592 MB / 0.5884 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.4038, allocations: 0.7509 MB / 0.5891 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.404, allocations: 248.9 kB / 0.5894 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.4042, allocations: 70.94 kB / 0.5894 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.4063, allocations: 0.9801 MB / 0.5904 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4064, allocations: 6.984 kB / 0.5904 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.4065, allocations: 29.56 kB / 0.5904 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.4065, allocations: 20.62 kB / 0.5905 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.4087, allocations: 0.9899 MB / 0.5914 GB, free: 25.75 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.005073/0.4138, allocations: 3.284 MB / 0.5946 GB, free: 23.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.4158, allocations: 1.358 MB / 0.596 GB, free: 22.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.4172, allocations: 0.7158 MB / 0.5967 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.4174, allocations: 23.84 kB / 0.5967 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4174, allocations: 39.22 kB / 0.5967 GB, free: 22.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.505e-06/0.4174, allocations: 4 kB / 0.5967 GB, free: 22.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02657/0.444, allocations: 6.55 MB / 0.6031 GB, free: 21.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.4441, allocations: 65.16 kB / 0.6032 GB, free: 21.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.4457, allocations: 0.847 MB / 0.604 GB, free: 20.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.4458, allocations: 42.36 kB / 0.604 GB, free: 20.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.4462, allocations: 442 kB / 0.6045 GB, free: 20.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.4465, allocations: 306.8 kB / 0.6048 GB, free: 20.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000478/0.447, allocations: 206.4 kB / 0.605 GB, free: 20.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.4471, allocations: 349.7 kB / 0.6053 GB, free: 19.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.4486, allocations: 0.6893 MB / 0.606 GB, free: 19.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.4502, allocations: 0.8212 MB / 0.6068 GB, free: 19.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/0.4533, allocations: 1.488 MB / 0.6082 GB, free: 18.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.4533, allocations: 1.188 kB / 0.6082 GB, free: 18.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01529/0.4686, allocations: 4.273 MB / 0.6124 GB, free: 17.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4687, allocations: 6.516 kB / 0.6124 GB, free: 17.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.4687, allocations: 2.438 kB / 0.6124 GB, free: 17.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007076/0.4758, allocations: 1.848 MB / 0.6142 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4768, allocations: 181.3 kB / 0.6144 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/0.4962, allocations: 8.72 MB / 0.6229 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.4979, allocations: 166.9 kB / 0.6231 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.4981, allocations: 36 kB / 0.6231 GB, free: 8.805 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.0005767/0.4987, allocations: 229.6 kB / 0.6233 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/0.4992, allocations: 106.7 kB / 0.6234 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.511, allocations: 3.892 MB / 0.6272 GB, free: 4.555 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.511, allocations: 8 kB / 0.6272 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.511, allocations: 3.938 kB / 0.6272 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.511, allocations: 3.984 kB / 0.6272 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.5245, allocations: 5.431 MB / 0.6325 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.5245, allocations: 3.938 kB / 0.6325 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.5252, allocations: 91.89 kB / 0.6326 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005996/0.5312, allocations: 1.745 MB / 0.6343 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.5313, allocations: 16 kB / 0.6343 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.5496, allocations: 7.347 MB / 0.6415 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5496, allocations: 4 kB / 0.6415 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.5646, allocations: 4.763 MB / 0.6462 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.5651, allocations: 195.6 kB / 0.6464 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/0.5654, allocations: 23.94 kB / 0.6464 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.5667, allocations: 91.89 kB / 0.6465 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007103/0.5674, allocations: 196.6 kB / 0.6467 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.5675, allocations: 20 kB / 0.6467 GB, free: 300 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009589/0.5685, allocations: 0.5742 MB / 0.6472 GB, free: 15.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5685, allocations: 0 / 0.6472 GB, free: 15.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001677/0.5702, allocations: 427.6 kB / 0.6476 GB, free: 15.29 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.01541/0.5856, allocations: 5.35 MB / 0.6529 GB, free: 9.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007013/0.5926, allocations: 2.358 MB / 0.6552 GB, free: 7.531 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5927, allocations: 0 / 0.6552 GB, free: 7.531 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004733/0.5974, allocations: 1.488 MB / 0.6566 GB, free: 6.035 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.5985, allocations: 79.38 kB / 0.6567 GB, free: 5.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04118/0.6397, allocations: 15.74 MB / 0.6721 GB, free: 5.859 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/0.6406, allocations: 1.052 MB / 0.6731 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.641, allocations: 82.44 kB / 0.6732 GB, free: 4.695 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.6416, allocations: 387.2 kB / 0.6735 GB, free: 4.316 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6416, allocations: 0 / 0.6735 GB, free: 4.316 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04752/0.6891, allocations: 29.67 MB / 0.7025 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.6893, allocations: 219.8 kB / 0.7027 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.308, allocations: 3.375 kB / 0.7027 GB, free: 6.539 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)