Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.004764/0.004764, allocations: 168.8 kB / 15.12 MB, free: 6.043 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.387/1.387, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008706/0.0008708, allocations: 100.4 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4964/0.4964, allocations: 78.58 MB / 419.9 MB, free: 36.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004445, allocations: 12 kB / 499.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1422, allocations: 69.36 MB / 0.5559 GB, free: 1.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00557/0.1478, allocations: 5.573 MB / 0.5613 GB, free: 12.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.1511, allocations: 1.838 MB / 0.5631 GB, free: 10.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/0.1515, allocations: 16 kB / 0.5631 GB, free: 10.3 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.1519, allocations: 146.8 kB / 0.5633 GB, free: 10.16 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1532, allocations: 0.6463 MB / 0.5639 GB, free: 9.512 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1543, allocations: 0.5166 MB / 0.5644 GB, free: 9.004 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009648/0.1553, allocations: 0.9013 MB / 0.5653 GB, free: 8.102 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.1556, allocations: 269.6 kB / 0.5655 GB, free: 7.824 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/0.1561, allocations: 0.4902 MB / 0.566 GB, free: 7.332 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.1568, allocations: 0.6223 MB / 0.5666 GB, free: 6.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.617e-05/0.1569, allocations: 52 kB / 0.5667 GB, free: 6.656 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.1572, allocations: 163.8 kB / 0.5668 GB, free: 6.496 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.1574, allocations: 215 kB / 0.567 GB, free: 6.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1575, allocations: 221 kB / 0.5672 GB, free: 6.062 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009162/0.1585, allocations: 1.044 MB / 0.5683 GB, free: 5.016 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1585, allocations: 0 / 0.5683 GB, free: 5.016 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1585, allocations: 4 kB / 0.5683 GB, free: 5.012 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1585, allocations: 0 / 0.5683 GB, free: 5.012 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007068/0.1656, allocations: 2.381 MB / 0.5706 GB, free: 2.574 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1656, allocations: 8.031 kB / 0.5706 GB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.1658, allocations: 126.8 kB / 0.5707 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/0.1704, allocations: 0.7982 MB / 0.5715 GB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.1716, allocations: 0.7224 MB / 0.5722 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.1719, allocations: 272.2 kB / 0.5725 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.172, allocations: 76 kB / 0.5725 GB, free: 492 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2507/0.4227, allocations: 1.144 MB / 0.5737 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.4228, allocations: 0 / 0.5737 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.259e-05/0.4229, allocations: 33.75 kB / 0.5737 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.4229, allocations: 21.22 kB / 0.5737 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.4255, allocations: 1.233 MB / 0.5749 GB, free: 43.97 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.005646/0.4312, allocations: 3.597 MB / 0.5784 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.4332, allocations: 1.498 MB / 0.5799 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.4333, allocations: 18 kB / 0.5799 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.4334, allocations: 45.34 kB / 0.5799 GB, free: 42.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.916e-06/0.4334, allocations: 0 / 0.5799 GB, free: 42.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02847/0.4619, allocations: 8.322 MB / 0.5881 GB, free: 41.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.462, allocations: 66.38 kB / 0.5881 GB, free: 41.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.4633, allocations: 0.8725 MB / 0.589 GB, free: 41.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002084/0.4636, allocations: 42.23 kB / 0.589 GB, free: 41.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.464, allocations: 498.6 kB / 0.5895 GB, free: 41.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.4643, allocations: 343.2 kB / 0.5898 GB, free: 41.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.4644, allocations: 21.28 kB / 0.5898 GB, free: 41.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.4645, allocations: 347.8 kB / 0.5902 GB, free: 40.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.4664, allocations: 0.7995 MB / 0.591 GB, free: 40.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.4684, allocations: 0.9227 MB / 0.5919 GB, free: 40.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.4702, allocations: 0.8619 MB / 0.5927 GB, free: 40.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4702, allocations: 0 / 0.5927 GB, free: 40.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01444/0.4847, allocations: 5.144 MB / 0.5977 GB, free: 39.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.4847, allocations: 8.094 kB / 0.5977 GB, free: 39.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4848, allocations: 3.031 kB / 0.5977 GB, free: 39.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006312/0.4911, allocations: 2.176 MB / 0.5999 GB, free: 39.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.4923, allocations: 224 kB / 0.6001 GB, free: 39.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/0.5139, allocations: 9.787 MB / 0.6096 GB, free: 34.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.5159, allocations: 232.3 kB / 0.6099 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.516, allocations: 38.41 kB / 0.6099 GB, free: 34.9 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0005741/0.5166, allocations: 240.2 kB / 0.6101 GB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.5168, allocations: 119 kB / 0.6102 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/0.5316, allocations: 4.934 MB / 0.6151 GB, free: 33.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.5317, allocations: 21.08 kB / 0.6151 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5317, allocations: 1.938 kB / 0.6151 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/0.5317, allocations: 8.031 kB / 0.6151 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/0.5502, allocations: 6.55 MB / 0.6215 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.5502, allocations: 0 / 0.6215 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008271/0.5511, allocations: 147.4 kB / 0.6216 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006963/0.5581, allocations: 2.05 MB / 0.6236 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/0.5583, allocations: 17.38 kB / 0.6236 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/0.5771, allocations: 8.656 MB / 0.6321 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5771, allocations: 0 / 0.6321 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.5922, allocations: 5.99 MB / 0.6379 GB, free: 20.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.5926, allocations: 203.5 kB / 0.6381 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.5928, allocations: 19.98 kB / 0.6382 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5938, allocations: 159.9 kB / 0.6383 GB, free: 19.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/0.5945, allocations: 212.6 kB / 0.6385 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.5945, allocations: 21.12 kB / 0.6385 GB, free: 19.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006419/0.5952, allocations: 0.5848 MB / 0.6391 GB, free: 18.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5952, allocations: 4 kB / 0.6391 GB, free: 18.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001191/0.5964, allocations: 436.4 kB / 0.6395 GB, free: 18.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.01512/0.6115, allocations: 6.566 MB / 0.6459 GB, free: 11.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006654/0.6182, allocations: 2.759 MB / 0.6486 GB, free: 9.078 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6183, allocations: 0 / 0.6486 GB, free: 9.078 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004713/0.623, allocations: 1.793 MB / 0.6504 GB, free: 7.285 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.6237, allocations: 70.06 kB / 0.6504 GB, free: 7.219 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.6277, allocations: 4.146 MB / 0.6545 GB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.6282, allocations: 1.113 MB / 0.6556 GB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.6285, allocations: 86.91 kB / 0.6557 GB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.629, allocations: 443.3 kB / 0.6561 GB, free: 1.352 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.629, allocations: 0 / 0.6561 GB, free: 1.352 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05902/0.688, allocations: 28.88 MB / 0.6843 GB, free: 4.863 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.6883, allocations: 213.3 kB / 0.6845 GB, free: 4.625 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.424, allocations: 0 / 0.6845 GB, free: 4.625 MB / 474.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)