Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_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.001191/0.001191, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.27/1.27, allocations: 222.9 MB / 239 MB, free: 4.73 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.001195/0.001195, allocations: 188.5 kB / 289.2 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4482/0.4482, allocations: 78.53 MB / 417.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.89 kB / 497 MB, free: 6.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1277, allocations: 68.17 MB / 0.552 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2073/0.3351, allocations: 6.024 MB / 0.5578 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.338, allocations: 1.769 MB / 0.5596 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.3385, allocations: 13.72 kB / 0.5596 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.3389, allocations: 152.9 kB / 0.5597 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.3403, allocations: 0.5985 MB / 0.5603 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/0.3413, allocations: 0.5215 MB / 0.5608 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009526/0.3422, allocations: 1.214 MB / 0.562 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.3426, allocations: 278.5 kB / 0.5623 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.343, allocations: 0.5145 MB / 0.5628 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.3435, allocations: 0.6313 MB / 0.5634 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.747e-05/0.3436, allocations: 91.19 kB / 0.5635 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.3439, allocations: 225.4 kB / 0.5637 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3441, allocations: 236.8 kB / 0.5639 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.3444, allocations: 0.5372 MB / 0.5644 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009168/0.3453, allocations: 1.33 MB / 0.5657 GB, free: 34.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3453, allocations: 6.125 kB / 0.5657 GB, free: 34.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3453, allocations: 0 / 0.5657 GB, free: 34.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3454, allocations: 0 / 0.5657 GB, free: 34.82 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.00689/0.3523, allocations: 2.333 MB / 0.568 GB, free: 34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3523, allocations: 10.25 kB / 0.568 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.3524, allocations: 120.1 kB / 0.5681 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/0.357, allocations: 0.7519 MB / 0.5689 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/0.3579, allocations: 0.6987 MB / 0.5696 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.3581, allocations: 250.4 kB / 0.5698 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3583, allocations: 67.91 kB / 0.5699 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.3601, allocations: 0.9431 MB / 0.5708 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3601, allocations: 0 / 0.5708 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/0.3602, allocations: 27.53 kB / 0.5708 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.3602, allocations: 19.78 kB / 0.5708 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.362, allocations: 0.9698 MB / 0.5718 GB, free: 33.29 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.004399/0.3664, allocations: 3.149 MB / 0.5749 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.3681, allocations: 1.311 MB / 0.5761 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3692, allocations: 0.6996 MB / 0.5768 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.981e-05/0.3693, allocations: 16.44 kB / 0.5768 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3693, allocations: 39.69 kB / 0.5769 GB, free: 31.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.485e-06/0.3694, allocations: 0 / 0.5769 GB, free: 31.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02474/0.3941, allocations: 6.694 MB / 0.5834 GB, free: 30.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3942, allocations: 67.84 kB / 0.5835 GB, free: 30.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.3952, allocations: 0.7885 MB / 0.5842 GB, free: 29.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.3953, allocations: 41.36 kB / 0.5843 GB, free: 29.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.3956, allocations: 430.2 kB / 0.5847 GB, free: 29.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.3958, allocations: 287.3 kB / 0.585 GB, free: 29.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.3962, allocations: 173.4 kB / 0.5851 GB, free: 29.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.3962, allocations: 344.8 kB / 0.5855 GB, free: 28.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.3976, allocations: 0.6454 MB / 0.5861 GB, free: 28.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.3989, allocations: 0.7606 MB / 0.5868 GB, free: 28.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/0.4164, allocations: 4.46 MB / 0.5912 GB, free: 27.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4165, allocations: 0.5625 kB / 0.5912 GB, free: 27.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01285/0.4294, allocations: 4.039 MB / 0.5951 GB, free: 26.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.4294, allocations: 10.09 kB / 0.5951 GB, free: 26.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.4294, allocations: 2.5 kB / 0.5951 GB, free: 26.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006111/0.4356, allocations: 1.865 MB / 0.597 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.4365, allocations: 164.2 kB / 0.5971 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.4578, allocations: 9.103 MB / 0.606 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4592, allocations: 154.4 kB / 0.6062 GB, free: 21.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.4594, allocations: 37.64 kB / 0.6062 GB, free: 21.43 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.0005374/0.4599, allocations: 215.9 kB / 0.6064 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.4602, allocations: 102.8 kB / 0.6065 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.4717, allocations: 3.819 MB / 0.6102 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.4717, allocations: 8.5 kB / 0.6102 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4718, allocations: 1.219 kB / 0.6102 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/0.4718, allocations: 3.984 kB / 0.6102 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.4847, allocations: 5.338 MB / 0.6155 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4847, allocations: 0 / 0.6155 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.4852, allocations: 91.83 kB / 0.6155 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005128/0.4904, allocations: 1.744 MB / 0.6173 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.4905, allocations: 17.25 kB / 0.6173 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01618/0.5067, allocations: 8.083 MB / 0.6252 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5068, allocations: 7.938 kB / 0.6252 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.5198, allocations: 4.681 MB / 0.6297 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.5202, allocations: 187.6 kB / 0.6299 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.5205, allocations: 16 kB / 0.6299 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5215, allocations: 91.95 kB / 0.63 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006589/0.5222, allocations: 204.7 kB / 0.6302 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.5223, allocations: 17.78 kB / 0.6302 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000692/0.523, allocations: 0.5303 MB / 0.6308 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.523, allocations: 0 / 0.6308 GB, free: 14.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001369/0.5244, allocations: 407.5 kB / 0.6311 GB, free: 13.64 MB / 446.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.01407/0.5385, allocations: 5.261 MB / 0.6363 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006661/0.5452, allocations: 2.321 MB / 0.6385 GB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5452, allocations: 0 / 0.6385 GB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00454/0.5498, allocations: 1.505 MB / 0.64 GB, free: 4.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/0.5507, allocations: 71.88 kB / 0.6401 GB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/0.5865, allocations: 14.71 MB / 0.6545 GB, free: 5.414 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.5872, allocations: 1.033 MB / 0.6555 GB, free: 4.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.5876, allocations: 77.23 kB / 0.6555 GB, free: 4.277 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.5881, allocations: 379.3 kB / 0.6559 GB, free: 3.906 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5882, allocations: 0 / 0.6559 GB, free: 3.906 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.6359, allocations: 29.14 MB / 0.6844 GB, free: 7.113 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.6362, allocations: 216.8 kB / 0.6846 GB, free: 6.859 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.143, allocations: 4.062 kB / 0.6846 GB, free: 6.855 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)