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.005083/0.005083, allocations: 167.6 kB / 15.13 MB, free: 6.023 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.431/1.431, allocations: 223.3 MB / 239.1 MB, free: 8 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.0007875/0.0007875, allocations: 99.58 kB / 290.3 MB, free: 4.562 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5733/0.5733, allocations: 78.62 MB / 420 MB, free: 36.6 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.000387, allocations: 12 kB / 500 MB, free: 7.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 69.36 MB / 0.556 GB, free: 1.645 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005792/0.1583, allocations: 5.856 MB / 0.5617 GB, free: 11.76 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.1621, allocations: 1.795 MB / 0.5635 GB, free: 9.961 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.1629, allocations: 15.94 kB / 0.5635 GB, free: 9.945 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.1633, allocations: 150.8 kB / 0.5636 GB, free: 9.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.165, allocations: 0.5967 MB / 0.5642 GB, free: 9.203 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1661, allocations: 0.5019 MB / 0.5647 GB, free: 8.707 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.1675, allocations: 1.273 MB / 0.5659 GB, free: 7.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.1679, allocations: 269.6 kB / 0.5662 GB, free: 7.152 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.1686, allocations: 0.4899 MB / 0.5667 GB, free: 6.66 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.1692, allocations: 0.6338 MB / 0.5673 GB, free: 6.023 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.1694, allocations: 52 kB / 0.5673 GB, free: 5.973 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.1698, allocations: 179.8 kB / 0.5675 GB, free: 5.797 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.17, allocations: 214.9 kB / 0.5677 GB, free: 5.586 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.1702, allocations: 217 kB / 0.5679 GB, free: 5.367 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.1712, allocations: 1.091 MB / 0.569 GB, free: 4.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1712, allocations: 0 / 0.569 GB, free: 4.273 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1712, allocations: 0 / 0.569 GB, free: 4.273 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.1712, allocations: 0 / 0.569 GB, free: 4.273 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.007604/0.1788, allocations: 2.385 MB / 0.5713 GB, free: 1.832 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.1789, allocations: 12.03 kB / 0.5713 GB, free: 1.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002845/0.1792, allocations: 126.8 kB / 0.5715 GB, free: 1.688 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.1841, allocations: 0.7866 MB / 0.5722 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.1854, allocations: 0.7224 MB / 0.5729 GB, free: 124 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3698/0.5553, allocations: 270 kB / 0.5732 GB, free: 43.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004677/0.5558, allocations: 75.69 kB / 0.5733 GB, free: 43.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.5596, allocations: 1.166 MB / 0.5744 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.5597, allocations: 0 / 0.5744 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.5598, allocations: 29.59 kB / 0.5744 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.5598, allocations: 19.92 kB / 0.5744 GB, free: 43.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003978/0.5638, allocations: 1.23 MB / 0.5756 GB, free: 43.71 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.008465/0.5723, allocations: 3.502 MB / 0.5791 GB, free: 42.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.5754, allocations: 1.499 MB / 0.5805 GB, free: 42.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.5779, allocations: 0.863 MB / 0.5814 GB, free: 42.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.5781, allocations: 20.05 kB / 0.5814 GB, free: 42.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.5781, allocations: 42.42 kB / 0.5814 GB, free: 42.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.947e-06/0.5781, allocations: 0 / 0.5814 GB, free: 42.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.04287/0.621, allocations: 8.327 MB / 0.5896 GB, free: 41.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.6211, allocations: 62.31 kB / 0.5896 GB, free: 41.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.6227, allocations: 0.879 MB / 0.5905 GB, free: 41.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003201/0.623, allocations: 47.61 kB / 0.5905 GB, free: 41.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/0.6236, allocations: 0.4939 MB / 0.591 GB, free: 41.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/0.6241, allocations: 335.9 kB / 0.5913 GB, free: 41.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.6242, allocations: 22.59 kB / 0.5914 GB, free: 41.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.6243, allocations: 350.9 kB / 0.5917 GB, free: 40.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.627, allocations: 0.8028 MB / 0.5925 GB, free: 40.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.6296, allocations: 0.9272 MB / 0.5934 GB, free: 40.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.632, allocations: 0.8489 MB / 0.5942 GB, free: 40.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.632, allocations: 0 / 0.5942 GB, free: 40.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.02027/0.6523, allocations: 5.144 MB / 0.5992 GB, free: 39.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.6524, allocations: 13.5 kB / 0.5992 GB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.6524, allocations: 3.094 kB / 0.5992 GB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009393/0.6618, allocations: 2.171 MB / 0.6014 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.6635, allocations: 220.6 kB / 0.6016 GB, free: 38.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03001/0.6935, allocations: 9.35 MB / 0.6107 GB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.6958, allocations: 223 kB / 0.6109 GB, free: 34.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.696, allocations: 38.55 kB / 0.611 GB, free: 34.62 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.0006773/0.6967, allocations: 249.3 kB / 0.6112 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.697, allocations: 114.9 kB / 0.6113 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02139/0.7184, allocations: 4.948 MB / 0.6161 GB, free: 33.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.7184, allocations: 9.406 kB / 0.6161 GB, free: 33.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.7185, allocations: 1 kB / 0.6161 GB, free: 33.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.323e-05/0.7185, allocations: 4.078 kB / 0.6161 GB, free: 33.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/0.7385, allocations: 6.552 MB / 0.6225 GB, free: 31.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.7386, allocations: 1 kB / 0.6225 GB, free: 31.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.7395, allocations: 150.7 kB / 0.6227 GB, free: 31.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007031/0.7466, allocations: 2.045 MB / 0.6247 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.7468, allocations: 21.92 kB / 0.6247 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.7651, allocations: 8.209 MB / 0.6327 GB, free: 25.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7652, allocations: 4 kB / 0.6327 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/0.7818, allocations: 5.988 MB / 0.6386 GB, free: 19.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.7823, allocations: 207.4 kB / 0.6388 GB, free: 19.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/0.7827, allocations: 16 kB / 0.6388 GB, free: 19.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.7841, allocations: 155.9 kB / 0.6389 GB, free: 18.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008012/0.7849, allocations: 216.6 kB / 0.6391 GB, free: 18.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.7851, allocations: 31.94 kB / 0.6392 GB, free: 18.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008837/0.786, allocations: 0.5809 MB / 0.6397 GB, free: 18.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.786, allocations: 0 / 0.6397 GB, free: 18.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001763/0.7877, allocations: 431.4 kB / 0.6402 GB, free: 17.71 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.01656/0.8043, allocations: 6.572 MB / 0.6466 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007358/0.8117, allocations: 2.756 MB / 0.6493 GB, free: 8.367 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8118, allocations: 0 / 0.6493 GB, free: 8.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005041/0.8168, allocations: 1.795 MB / 0.651 GB, free: 6.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.8179, allocations: 85.25 kB / 0.6511 GB, free: 6.488 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02601/0.844, allocations: 11.41 MB / 0.6622 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/0.8448, allocations: 1.084 MB / 0.6633 GB, free: 9.668 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004822/0.8453, allocations: 87.06 kB / 0.6634 GB, free: 9.582 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/0.8459, allocations: 439.3 kB / 0.6638 GB, free: 9.156 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/0.846, allocations: 4 kB / 0.6638 GB, free: 9.152 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05465/0.9006, allocations: 29.4 MB / 0.6925 GB, free: 12.14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.9009, allocations: 219.5 kB / 0.6927 GB, free: 11.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/3.813, allocations: 0 / 0.6927 GB, free: 11.91 MB / 490.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)