Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.00115/0.00115, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 239.3 MB, free: 4.613 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.00145/0.00145, allocations: 184.5 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5484/0.5484, allocations: 91.9 MB / 431.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 75.88 kB / 0.502 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4677, allocations: 71.27 MB / 0.5716 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00496/0.4727, allocations: 5.703 MB / 0.5771 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.4755, allocations: 1.725 MB / 0.5788 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.476, allocations: 8.656 kB / 0.5788 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.4765, allocations: 211.2 kB / 0.579 GB, free: 32.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.4779, allocations: 0.6798 MB / 0.5797 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.479, allocations: 0.5589 MB / 0.5803 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009967/0.48, allocations: 1.224 MB / 0.5814 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.4803, allocations: 274.1 kB / 0.5817 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/0.4808, allocations: 0.52 MB / 0.5822 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.4813, allocations: 0.6367 MB / 0.5828 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.4814, allocations: 83.25 kB / 0.5829 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.4818, allocations: 224.6 kB / 0.5831 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.4819, allocations: 237.6 kB / 0.5834 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.4823, allocations: 0.5358 MB / 0.5839 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.4833, allocations: 1.325 MB / 0.5852 GB, free: 28.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4833, allocations: 0 / 0.5852 GB, free: 28.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4833, allocations: 0 / 0.5852 GB, free: 28.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.4833, allocations: 5.188 kB / 0.5852 GB, free: 28.98 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007338/0.4907, allocations: 2.33 MB / 0.5875 GB, free: 27.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.4908, allocations: 12.88 kB / 0.5875 GB, free: 27.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.4909, allocations: 117.4 kB / 0.5876 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.4958, allocations: 0.7519 MB / 0.5883 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.4967, allocations: 0.701 MB / 0.589 GB, free: 27.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.497, allocations: 253.8 kB / 0.5892 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.4971, allocations: 64.09 kB / 0.5893 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.4994, allocations: 0.9485 MB / 0.5902 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4994, allocations: 0 / 0.5902 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-05/0.4995, allocations: 25.59 kB / 0.5903 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.4995, allocations: 20.95 kB / 0.5903 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.5016, allocations: 0.9709 MB / 0.5912 GB, free: 26.25 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.004879/0.5065, allocations: 3.148 MB / 0.5943 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.5085, allocations: 1.31 MB / 0.5956 GB, free: 23.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.5099, allocations: 0.6994 MB / 0.5963 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.821e-05/0.51, allocations: 16.8 kB / 0.5963 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.5101, allocations: 39.12 kB / 0.5963 GB, free: 23.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.095e-06/0.5101, allocations: 0 / 0.5963 GB, free: 23.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02914/0.5392, allocations: 6.691 MB / 0.6028 GB, free: 22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/0.5394, allocations: 68.25 kB / 0.6029 GB, free: 21.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.5411, allocations: 0.7879 MB / 0.6037 GB, free: 21.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003599/0.5415, allocations: 41.67 kB / 0.6037 GB, free: 21.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.5419, allocations: 428 kB / 0.6041 GB, free: 21.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.5424, allocations: 288.9 kB / 0.6044 GB, free: 20.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/0.5428, allocations: 176 kB / 0.6046 GB, free: 20.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.543, allocations: 342.4 kB / 0.6049 GB, free: 20.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.5445, allocations: 0.6455 MB / 0.6055 GB, free: 20.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.5461, allocations: 0.7633 MB / 0.6063 GB, free: 20 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/0.5649, allocations: 4.464 MB / 0.6106 GB, free: 18.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.565, allocations: 3.938 kB / 0.6106 GB, free: 18.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01381/0.5788, allocations: 4.041 MB / 0.6146 GB, free: 17.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.5789, allocations: 5.469 kB / 0.6146 GB, free: 17.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5789, allocations: 2.094 kB / 0.6146 GB, free: 17.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006454/0.5854, allocations: 1.866 MB / 0.6164 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/0.5863, allocations: 163.8 kB / 0.6166 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/0.6059, allocations: 9.099 MB / 0.6254 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.6077, allocations: 162.9 kB / 0.6256 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.6078, allocations: 35.98 kB / 0.6256 GB, free: 6.512 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real 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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004734/0.6082, allocations: 217.7 kB / 0.6258 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.6084, allocations: 102.8 kB / 0.6259 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.6203, allocations: 3.821 MB / 0.6297 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.6203, allocations: 8 kB / 0.6297 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6203, allocations: 0 / 0.6297 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.6203, allocations: 7.984 kB / 0.6297 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.6351, allocations: 5.332 MB / 0.6349 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.6352, allocations: 0 / 0.6349 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.6357, allocations: 95.83 kB / 0.635 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006107/0.6419, allocations: 1.745 MB / 0.6367 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.642, allocations: 16 kB / 0.6367 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/0.6611, allocations: 8.084 MB / 0.6446 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6611, allocations: 0 / 0.6446 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.6761, allocations: 4.684 MB / 0.6492 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.6766, allocations: 191.5 kB / 0.6494 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.6767, allocations: 12 kB / 0.6494 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/0.6776, allocations: 91.95 kB / 0.6495 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006387/0.6783, allocations: 196.7 kB / 0.6496 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/0.6784, allocations: 27.98 kB / 0.6497 GB, free: 13.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006543/0.679, allocations: 0.5264 MB / 0.6502 GB, free: 13.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.679, allocations: 0 / 0.6502 GB, free: 13.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00126/0.6803, allocations: 403.6 kB / 0.6506 GB, free: 12.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01539/0.6957, allocations: 5.26 MB / 0.6557 GB, free: 7.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007354/0.7031, allocations: 2.319 MB / 0.658 GB, free: 4.988 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.7032, allocations: 0 / 0.658 GB, free: 4.988 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00495/0.7081, allocations: 1.508 MB / 0.6594 GB, free: 3.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.7093, allocations: 80.14 kB / 0.6595 GB, free: 3.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/0.7454, allocations: 14.37 MB / 0.6736 GB, free: 4.703 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.7461, allocations: 1.025 MB / 0.6746 GB, free: 3.648 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003248/0.7464, allocations: 74.19 kB / 0.6746 GB, free: 3.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.7469, allocations: 383.2 kB / 0.675 GB, free: 3.199 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7469, allocations: 0 / 0.675 GB, free: 3.199 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06619/0.8131, allocations: 30.25 MB / 0.7045 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.13, allocations: 15.86 kB / 0.7046 GB, free: 5.055 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)