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.001197/0.001197, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.294/1.294, allocations: 223.2 MB / 238.9 MB, free: 5.641 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.001081/0.001081, allocations: 181.1 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4586/0.4586, allocations: 78.53 MB / 419.8 MB, free: 4.379 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 16 kB / 499.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 69.36 MB / 0.5558 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.242/0.3549, allocations: 5.19 MB / 0.5608 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.3586, allocations: 1.772 MB / 0.5626 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000741/0.3594, allocations: 8.719 kB / 0.5626 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.3599, allocations: 148.4 kB / 0.5627 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.3616, allocations: 0.6371 MB / 0.5633 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3627, allocations: 498.1 kB / 0.5638 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.3642, allocations: 0.8635 MB / 0.5647 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.3645, allocations: 218.2 kB / 0.5649 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006262/0.3652, allocations: 487.7 kB / 0.5653 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.3658, allocations: 0.6025 MB / 0.5659 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.744e-05/0.3659, allocations: 52.5 kB / 0.566 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.3663, allocations: 172.5 kB / 0.5661 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.3665, allocations: 206.1 kB / 0.5663 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3666, allocations: 201.2 kB / 0.5665 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009031/0.3675, allocations: 1.011 MB / 0.5675 GB, free: 36.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3675, allocations: 0 / 0.5675 GB, free: 36.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3676, allocations: 0 / 0.5675 GB, free: 36.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.3676, allocations: 0 / 0.5675 GB, free: 36.48 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.007329/0.3749, allocations: 2.298 MB / 0.5698 GB, free: 35.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.375, allocations: 8.438 kB / 0.5698 GB, free: 35.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002975/0.3753, allocations: 117.3 kB / 0.5699 GB, free: 35.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/0.3802, allocations: 0.7732 MB / 0.5706 GB, free: 35.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.3817, allocations: 0.7141 MB / 0.5713 GB, free: 35.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.382, allocations: 259.7 kB / 0.5716 GB, free: 35.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.3821, allocations: 71.73 kB / 0.5716 GB, free: 35.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.3841, allocations: 1.044 MB / 0.5727 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3841, allocations: 4 kB / 0.5727 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.3842, allocations: 31.09 kB / 0.5727 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.3842, allocations: 21.61 kB / 0.5727 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.3863, allocations: 1.077 MB / 0.5738 GB, free: 34.87 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.005346/0.3917, allocations: 3.439 MB / 0.5771 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.3937, allocations: 1.424 MB / 0.5785 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-05/0.3938, allocations: 13.02 kB / 0.5785 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3938, allocations: 45.75 kB / 0.5786 GB, free: 31.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.415e-06/0.3938, allocations: 0 / 0.5786 GB, free: 31.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02583/0.4196, allocations: 8.113 MB / 0.5865 GB, free: 30.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4197, allocations: 65 kB / 0.5866 GB, free: 30.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.4209, allocations: 0.8329 MB / 0.5874 GB, free: 30.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.4211, allocations: 40.64 kB / 0.5874 GB, free: 30 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.4213, allocations: 448.2 kB / 0.5878 GB, free: 29.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.4216, allocations: 312.7 kB / 0.5881 GB, free: 29.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.4217, allocations: 19.88 kB / 0.5882 GB, free: 29.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.4218, allocations: 356.6 kB / 0.5885 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.4233, allocations: 0.7584 MB / 0.5892 GB, free: 28.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.4249, allocations: 0.891 MB / 0.5901 GB, free: 28.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.4265, allocations: 0.8112 MB / 0.5909 GB, free: 28.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.4265, allocations: 1.531 kB / 0.5909 GB, free: 28.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01523/0.4418, allocations: 5.126 MB / 0.5959 GB, free: 26.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.4418, allocations: 6.125 kB / 0.5959 GB, free: 26.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.4419, allocations: 7.547 kB / 0.5959 GB, free: 26.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007815/0.4497, allocations: 2.18 MB / 0.598 GB, free: 26.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.4509, allocations: 188.2 kB / 0.5982 GB, free: 26.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02487/0.4758, allocations: 10.15 MB / 0.6081 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.4776, allocations: 199.1 kB / 0.6083 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/0.4779, allocations: 41.36 kB / 0.6084 GB, free: 22.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006594/0.4785, allocations: 226.2 kB / 0.6086 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.4789, allocations: 106.2 kB / 0.6087 GB, free: 21.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.4926, allocations: 4.795 MB / 0.6134 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.4927, allocations: 10.58 kB / 0.6134 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4927, allocations: 0 / 0.6134 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.4927, allocations: 3.984 kB / 0.6134 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.5072, allocations: 6.331 MB / 0.6196 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5072, allocations: 0 / 0.6196 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.5079, allocations: 107.9 kB / 0.6197 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005718/0.5137, allocations: 2.054 MB / 0.6217 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.5139, allocations: 12.7 kB / 0.6217 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/0.5311, allocations: 8.648 MB / 0.6301 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.5312, allocations: 1.188 kB / 0.6301 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/0.5463, allocations: 5.743 MB / 0.6357 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.5468, allocations: 201.4 kB / 0.6359 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/0.5471, allocations: 12 kB / 0.6359 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.5483, allocations: 131.9 kB / 0.6361 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006337/0.549, allocations: 200.6 kB / 0.6363 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.5491, allocations: 16 kB / 0.6363 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008289/0.5499, allocations: 0.5741 MB / 0.6368 GB, free: 10.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5499, allocations: 0 / 0.6368 GB, free: 10.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001632/0.5516, allocations: 427.5 kB / 0.6372 GB, free: 10.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0156/0.5672, allocations: 6.313 MB / 0.6434 GB, free: 3.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00746/0.5747, allocations: 2.666 MB / 0.646 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5747, allocations: 0 / 0.646 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004892/0.5796, allocations: 1.72 MB / 0.6477 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/0.5805, allocations: 60.09 kB / 0.6477 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.5858, allocations: 4.136 MB / 0.6518 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.5865, allocations: 1.072 MB / 0.6528 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003431/0.5868, allocations: 79.39 kB / 0.6529 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.5874, allocations: 387.3 kB / 0.6533 GB, free: 9.562 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5874, allocations: 3.938 kB / 0.6533 GB, free: 9.559 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/0.6374, allocations: 28.24 MB / 0.6809 GB, free: 13.66 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.6376, allocations: 194.8 kB / 0.6811 GB, free: 13.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.248, allocations: 7.938 kB / 0.6811 GB, free: 13.41 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: