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.00095/0.0009501, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.39/1.39, allocations: 223.2 MB / 239 MB, free: 5.473 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.001209/0.001209, allocations: 188.5 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4871/0.4871, allocations: 79.48 MB / 420.8 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003832, allocations: 12 kB / 0.4892 GB, free: 5.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4405, allocations: 69.52 MB / 0.5571 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005119/0.4456, allocations: 5.496 MB / 0.5625 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003599/0.4493, allocations: 1.738 MB / 0.5642 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.4498, allocations: 9.938 kB / 0.5642 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.4503, allocations: 157 kB / 0.5643 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.4517, allocations: 0.5755 MB / 0.5649 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000995/0.4527, allocations: 0.4978 MB / 0.5654 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.4538, allocations: 1.214 MB / 0.5666 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.4542, allocations: 216 kB / 0.5668 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.4547, allocations: 491.8 kB / 0.5672 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005466/0.4552, allocations: 0.6135 MB / 0.5678 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.652e-05/0.4553, allocations: 50.62 kB / 0.5679 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.4557, allocations: 177.9 kB / 0.568 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.4559, allocations: 206.8 kB / 0.5682 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.456, allocations: 202.5 kB / 0.5684 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008973/0.4569, allocations: 1.05 MB / 0.5695 GB, free: 35.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.457, allocations: 6.344 kB / 0.5695 GB, free: 35.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.457, allocations: 0.5625 kB / 0.5695 GB, free: 35.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.457, allocations: 0 / 0.5695 GB, free: 35.62 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.0062/0.4632, allocations: 2.299 MB / 0.5717 GB, free: 34.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4632, allocations: 8.594 kB / 0.5717 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.4634, allocations: 121.6 kB / 0.5718 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004289/0.4677, allocations: 0.7661 MB / 0.5726 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.4688, allocations: 0.7153 MB / 0.5733 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.469, allocations: 262.6 kB / 0.5735 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.4692, allocations: 72.31 kB / 0.5736 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.4711, allocations: 1.052 MB / 0.5746 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.4711, allocations: 0 / 0.5746 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.4712, allocations: 33.48 kB / 0.5747 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.4712, allocations: 16.5 kB / 0.5747 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.4732, allocations: 1.071 MB / 0.5757 GB, free: 33.54 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.004729/0.4779, allocations: 3.347 MB / 0.579 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.4797, allocations: 1.42 MB / 0.5804 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.481, allocations: 0.7898 MB / 0.5811 GB, free: 30.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.4811, allocations: 20.48 kB / 0.5812 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.4811, allocations: 42.59 kB / 0.5812 GB, free: 30.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.998e-06/0.4811, allocations: 0 / 0.5812 GB, free: 30.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02399/0.5051, allocations: 8.108 MB / 0.5891 GB, free: 28.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.5052, allocations: 72.44 kB / 0.5892 GB, free: 28.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.5069, allocations: 0.8392 MB / 0.59 GB, free: 28.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.507, allocations: 40.33 kB / 0.5901 GB, free: 28.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.5074, allocations: 448.4 kB / 0.5905 GB, free: 28.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.5078, allocations: 304.8 kB / 0.5908 GB, free: 27.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.5079, allocations: 26.31 kB / 0.5908 GB, free: 27.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.508, allocations: 349.1 kB / 0.5911 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.5098, allocations: 0.7617 MB / 0.5919 GB, free: 27.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.5116, allocations: 0.8888 MB / 0.5927 GB, free: 26.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.5134, allocations: 0.8173 MB / 0.5935 GB, free: 26.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.5134, allocations: 4.688 kB / 0.5935 GB, free: 26.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01445/0.5279, allocations: 5.127 MB / 0.5986 GB, free: 25.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.5279, allocations: 5.219 kB / 0.5986 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.5279, allocations: 3.219 kB / 0.5986 GB, free: 25.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007345/0.5353, allocations: 2.175 MB / 0.6007 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.5364, allocations: 197.5 kB / 0.6009 GB, free: 25.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02314/0.5595, allocations: 9.687 MB / 0.6103 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.5613, allocations: 203.3 kB / 0.6105 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.5616, allocations: 38.34 kB / 0.6106 GB, free: 20.81 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.0006966/0.5623, allocations: 229.8 kB / 0.6108 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.5627, allocations: 106.3 kB / 0.6109 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.5747, allocations: 4.799 MB / 0.6156 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5748, allocations: 8 kB / 0.6156 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5748, allocations: 0 / 0.6156 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5748, allocations: 5.172 kB / 0.6156 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.5874, allocations: 6.33 MB / 0.6218 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5874, allocations: 2.156 kB / 0.6218 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.588, allocations: 103.9 kB / 0.6219 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005056/0.593, allocations: 2.056 MB / 0.6239 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/0.5932, allocations: 12 kB / 0.6239 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01552/0.6087, allocations: 8.204 MB / 0.6319 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6087, allocations: 0 / 0.6319 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/0.6228, allocations: 5.739 MB / 0.6375 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.6233, allocations: 195.6 kB / 0.6377 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/0.6237, allocations: 16.75 kB / 0.6377 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.6249, allocations: 131.9 kB / 0.6378 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006513/0.6256, allocations: 200.6 kB / 0.638 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.6257, allocations: 19.98 kB / 0.638 GB, free: 9.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009141/0.6266, allocations: 0.5663 MB / 0.6386 GB, free: 8.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6267, allocations: 0 / 0.6386 GB, free: 8.781 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001791/0.6284, allocations: 431.5 kB / 0.639 GB, free: 8.359 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.0143/0.6428, allocations: 6.327 MB / 0.6452 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006651/0.6494, allocations: 2.659 MB / 0.6478 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6495, allocations: 1.312 kB / 0.6478 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004388/0.6539, allocations: 1.72 MB / 0.6495 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.655, allocations: 81.22 kB / 0.6495 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02495/0.68, allocations: 11.08 MB / 0.6604 GB, free: 2.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.6808, allocations: 1.045 MB / 0.6614 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004899/0.6813, allocations: 79.39 kB / 0.6614 GB, free: 1.059 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/0.682, allocations: 387.3 kB / 0.6618 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.682, allocations: 4.656 kB / 0.6618 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.018/1.7, allocations: 28.89 MB / 0.69 GB, free: 4.141 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/1.7, allocations: 200 kB / 0.6902 GB, free: 3.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/4.571, allocations: 0 / 0.6902 GB, free: 3.902 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: