Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 177.8 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 239.4 MB, free: 15.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000756/0.0007561, allocations: 100 kB / 290.6 MB, free: 4.566 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5149/0.5149, allocations: 78.61 MB / 420.4 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005445, allocations: 16.23 kB / 0.4889 GB, free: 6.758 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1648, allocations: 69.35 MB / 0.5566 GB, free: 1.344 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.008929/0.1738, allocations: 5.642 MB / 0.5621 GB, free: 11.67 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.1794, allocations: 1.771 MB / 0.5638 GB, free: 9.891 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.1807, allocations: 8 kB / 0.5638 GB, free: 9.883 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.1815, allocations: 155 kB / 0.564 GB, free: 9.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.1845, allocations: 0.614 MB / 0.5646 GB, free: 9.113 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.1866, allocations: 0.5205 MB / 0.5651 GB, free: 8.602 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.1888, allocations: 1.194 MB / 0.5663 GB, free: 7.402 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006026/0.1894, allocations: 227.6 kB / 0.5665 GB, free: 7.168 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.1905, allocations: 477.6 kB / 0.5669 GB, free: 6.699 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1915, allocations: 0.5909 MB / 0.5675 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.1917, allocations: 48 kB / 0.5676 GB, free: 6.059 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007523/0.1925, allocations: 175.9 kB / 0.5677 GB, free: 5.887 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.1927, allocations: 198.9 kB / 0.5679 GB, free: 5.691 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006966/0.1935, allocations: 0.5257 MB / 0.5684 GB, free: 5.156 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.1956, allocations: 1.276 MB / 0.5697 GB, free: 3.875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1956, allocations: 4 kB / 0.5697 GB, free: 3.871 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1956, allocations: 0 / 0.5697 GB, free: 3.871 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.381e-05/0.1956, allocations: 0 / 0.5697 GB, free: 3.871 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.009177/0.2048, allocations: 2.192 MB / 0.5718 GB, free: 1.629 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2049, allocations: 16.03 kB / 0.5718 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.2051, allocations: 110.5 kB / 0.5719 GB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005081/0.2102, allocations: 0.7712 MB / 0.5727 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2528/0.463, allocations: 0.6908 MB / 0.5734 GB, free: 44.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/0.4634, allocations: 261.2 kB / 0.5736 GB, free: 44.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.4637, allocations: 66.81 kB / 0.5737 GB, free: 44.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.4659, allocations: 1.031 MB / 0.5747 GB, free: 44.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4659, allocations: 0 / 0.5747 GB, free: 44.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.466, allocations: 36.47 kB / 0.5747 GB, free: 44.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.466, allocations: 17.16 kB / 0.5747 GB, free: 44.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.4681, allocations: 1.061 MB / 0.5758 GB, free: 44 MB / 442.7 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.005153/0.4733, allocations: 3.244 MB / 0.579 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.4752, allocations: 1.378 MB / 0.5803 GB, free: 42.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.4765, allocations: 0.7715 MB / 0.5811 GB, free: 42.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.4767, allocations: 14.47 kB / 0.5811 GB, free: 42.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.4767, allocations: 46.34 kB / 0.5811 GB, free: 42.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.4767, allocations: 0 / 0.5811 GB, free: 42.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.02724/0.504, allocations: 8.411 MB / 0.5893 GB, free: 42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.504, allocations: 65.75 kB / 0.5894 GB, free: 41.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.5054, allocations: 0.8021 MB / 0.5902 GB, free: 41.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.5056, allocations: 37.7 kB / 0.5902 GB, free: 41.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.5059, allocations: 438 kB / 0.5906 GB, free: 41.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.5063, allocations: 296.3 kB / 0.5909 GB, free: 41.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.5065, allocations: 92.64 kB / 0.591 GB, free: 41.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5066, allocations: 345.8 kB / 0.5913 GB, free: 41.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.5083, allocations: 0.7273 MB / 0.592 GB, free: 41.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.5099, allocations: 0.8477 MB / 0.5929 GB, free: 40.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/0.526, allocations: 4.999 MB / 0.5977 GB, free: 39.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.5261, allocations: 3.219 kB / 0.5977 GB, free: 39.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01273/0.5388, allocations: 5.025 MB / 0.6027 GB, free: 38.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.5389, allocations: 5.75 kB / 0.6027 GB, free: 38.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.5389, allocations: 6.938 kB / 0.6027 GB, free: 38.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006028/0.545, allocations: 2.098 MB / 0.6047 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008872/0.5459, allocations: 169.6 kB / 0.6049 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/0.5668, allocations: 9.574 MB / 0.6142 GB, free: 34.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.5682, allocations: 191.4 kB / 0.6144 GB, free: 34.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.5685, allocations: 36.42 kB / 0.6144 GB, free: 34 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006174/0.5691, allocations: 228.1 kB / 0.6147 GB, free: 33.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.5694, allocations: 98.66 kB / 0.6148 GB, free: 33.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.5832, allocations: 4.738 MB / 0.6194 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.5832, allocations: 12.5 kB / 0.6194 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5832, allocations: 0.75 kB / 0.6194 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.5832, allocations: 9.906 kB / 0.6194 GB, free: 32.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.5994, allocations: 6.269 MB / 0.6255 GB, free: 30.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.5995, allocations: 0.75 kB / 0.6255 GB, free: 30.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.6, allocations: 93.88 kB / 0.6256 GB, free: 30.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005755/0.6058, allocations: 2.047 MB / 0.6276 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.606, allocations: 19.88 kB / 0.6276 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/0.6221, allocations: 8.225 MB / 0.6357 GB, free: 22.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6222, allocations: 2.531 kB / 0.6357 GB, free: 22.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.6361, allocations: 5.698 MB / 0.6412 GB, free: 16.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.6365, allocations: 191.6 kB / 0.6414 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.6367, allocations: 12 kB / 0.6414 GB, free: 16.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6378, allocations: 131.8 kB / 0.6416 GB, free: 16.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006227/0.6384, allocations: 196.7 kB / 0.6417 GB, free: 16.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/0.6385, allocations: 19.98 kB / 0.6418 GB, free: 16.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006291/0.6391, allocations: 0.5343 MB / 0.6423 GB, free: 15.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6391, allocations: 0 / 0.6423 GB, free: 15.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001288/0.6404, allocations: 414.8 kB / 0.6427 GB, free: 15.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01347/0.6539, allocations: 6.279 MB / 0.6488 GB, free: 9.125 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005914/0.6599, allocations: 2.585 MB / 0.6513 GB, free: 6.539 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6599, allocations: 0 / 0.6513 GB, free: 6.539 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004139/0.6641, allocations: 1.7 MB / 0.653 GB, free: 4.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000943/0.665, allocations: 81.11 kB / 0.6531 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03781/0.7029, allocations: 16.87 MB / 0.6695 GB, free: 3.594 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.7036, allocations: 1.033 MB / 0.6706 GB, free: 2.535 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004288/0.704, allocations: 76.91 kB / 0.6706 GB, free: 2.461 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/0.7046, allocations: 363.3 kB / 0.671 GB, free: 2.105 MB / 458.7 MB Notification: Performance of SimCode: time 2.044e-06/0.7046, allocations: 0 / 0.671 GB, free: 2.105 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.7528, allocations: 27.76 MB / 0.6981 GB, free: 6.645 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.7531, allocations: 214.8 kB / 0.6983 GB, free: 6.395 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/3.716, allocations: 7.875 kB / 0.6983 GB, free: 6.387 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)