Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1284/0.1284, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 105.8 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 239.5 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 185.2 kB / 290.6 MB, free: 11.66 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5164/0.5164, allocations: 78.54 MB / 420.1 MB, free: 11.64 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009149/0.0009152, allocations: 32 kB / 0.4896 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3749, allocations: 69.23 MB / 0.5572 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005136/0.3801, allocations: 5.531 MB / 0.5626 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.3836, allocations: 1.702 MB / 0.5642 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.3842, allocations: 8 kB / 0.5642 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.3846, allocations: 154.9 kB / 0.5644 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3859, allocations: 0.5681 MB / 0.5649 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009641/0.3869, allocations: 0.5106 MB / 0.5654 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009381/0.3879, allocations: 1.21 MB / 0.5666 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.3882, allocations: 219.4 kB / 0.5668 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.3886, allocations: 485.9 kB / 0.5673 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.3891, allocations: 0.6145 MB / 0.5679 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/0.3892, allocations: 52 kB / 0.5679 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.3896, allocations: 179.8 kB / 0.5681 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3897, allocations: 207 kB / 0.5683 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3899, allocations: 205.1 kB / 0.5685 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.3905, allocations: 1.048 MB / 0.5695 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3906, allocations: 0 / 0.5695 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3906, allocations: 0 / 0.5695 GB, free: 8.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.3906, allocations: 4 kB / 0.5695 GB, free: 8.301 MB / 382.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.006273/0.3969, allocations: 2.295 MB / 0.5718 GB, free: 5.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3969, allocations: 15.98 kB / 0.5718 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.3971, allocations: 122.4 kB / 0.5719 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/0.4014, allocations: 0.7634 MB / 0.5727 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/0.4024, allocations: 0.7095 MB / 0.5734 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.4027, allocations: 268.1 kB / 0.5736 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.4028, allocations: 72 kB / 0.5737 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.4045, allocations: 1.054 MB / 0.5747 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.4046, allocations: 3.938 kB / 0.5747 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.4047, allocations: 28 kB / 0.5747 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4047, allocations: 16 kB / 0.5747 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.4065, allocations: 1.074 MB / 0.5758 GB, free: 1.742 MB / 382.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.005086/0.4116, allocations: 3.336 MB / 0.5791 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.4136, allocations: 1.431 MB / 0.5805 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.415, allocations: 0.7969 MB / 0.5812 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.4151, allocations: 9 kB / 0.5812 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4151, allocations: 39.56 kB / 0.5813 GB, free: 11.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 2.254e-06/0.4151, allocations: 0 / 0.5813 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=85): time 0.02431/0.4394, allocations: 8.114 MB / 0.5892 GB, free: 3.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.4395, allocations: 64.41 kB / 0.5893 GB, free: 3.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.4407, allocations: 0.839 MB / 0.5901 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.441, allocations: 37.7 kB / 0.5901 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.4413, allocations: 452.5 kB / 0.5905 GB, free: 2.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.4416, allocations: 307.6 kB / 0.5908 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.4417, allocations: 20 kB / 0.5909 GB, free: 1.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4419, allocations: 353.9 kB / 0.5912 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.4433, allocations: 0.7638 MB / 0.5919 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4448, allocations: 0.8893 MB / 0.5928 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.4464, allocations: 0.8147 MB / 0.5936 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4464, allocations: 4 kB / 0.5936 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01308/0.4595, allocations: 5.128 MB / 0.5986 GB, free: 9.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.4595, allocations: 10.5 kB / 0.5986 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4595, allocations: 0 / 0.5986 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006488/0.466, allocations: 2.182 MB / 0.6008 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/0.467, allocations: 195.7 kB / 0.6009 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/0.4872, allocations: 9.69 MB / 0.6104 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4889, allocations: 199 kB / 0.6106 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.489, allocations: 39.98 kB / 0.6106 GB, free: 13.5 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.0004526/0.4895, allocations: 225.7 kB / 0.6109 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.4897, allocations: 110.6 kB / 0.611 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.5022, allocations: 4.79 MB / 0.6156 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5022, allocations: 8 kB / 0.6156 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5022, allocations: 0 / 0.6156 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.5023, allocations: 3.984 kB / 0.6156 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.5162, allocations: 6.334 MB / 0.6218 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.5162, allocations: 0 / 0.6218 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.5168, allocations: 99.84 kB / 0.6219 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005502/0.5223, allocations: 2.058 MB / 0.6239 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.5225, allocations: 23.98 kB / 0.624 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/0.5388, allocations: 8.194 MB / 0.632 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5388, allocations: 0 / 0.632 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/0.5527, allocations: 5.739 MB / 0.6376 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/0.5532, allocations: 195.6 kB / 0.6378 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.5534, allocations: 12 kB / 0.6378 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/0.5543, allocations: 135.8 kB / 0.6379 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006065/0.5549, allocations: 204.6 kB / 0.6381 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.555, allocations: 16 kB / 0.6381 GB, free: 1.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007037/0.5557, allocations: 0.5702 MB / 0.6387 GB, free: 432 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5557, allocations: 0 / 0.6387 GB, free: 432 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001218/0.5569, allocations: 431.5 kB / 0.6391 GB, free: 0 / 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.01427/0.5712, allocations: 6.319 MB / 0.6452 GB, free: 9.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006494/0.5778, allocations: 2.658 MB / 0.6478 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5778, allocations: 0 / 0.6478 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004207/0.582, allocations: 1.725 MB / 0.6495 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.5829, allocations: 82.77 kB / 0.6496 GB, free: 5.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/0.6049, allocations: 11.08 MB / 0.6604 GB, free: 9.805 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.6056, allocations: 1.045 MB / 0.6614 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003688/0.606, allocations: 82.44 kB / 0.6615 GB, free: 8.648 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/0.6065, allocations: 391.2 kB / 0.6619 GB, free: 8.266 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6065, allocations: 4 kB / 0.6619 GB, free: 8.262 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3239/0.9304, allocations: 28.88 MB / 0.6901 GB, free: 120.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.9306, allocations: 204.2 kB / 0.6903 GB, free: 120.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/4.06, allocations: 0 / 0.6903 GB, free: 120.3 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1) Environment - environmentSimulation: