Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0009668/0.0009667, allocations: 177.5 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.3 MB / 213.4 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007699/0.0007699, allocations: 81.39 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06286/0.06286, allocations: 12.2 MB / 321.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2822/0.2822, allocations: 78.07 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.331e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 69.24 MB / 0.5819 GB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3855/0.5052, allocations: 99.07 MB / 0.6786 GB, free: 9.293 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/0.5054, allocations: 78.39 kB / 0.6787 GB, free: 9.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05765/0.563, allocations: 24.32 MB / 0.7024 GB, free: 5.465 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5631, allocations: 0 / 0.7024 GB, free: 5.465 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.099e-05/0.5631, allocations: 20 kB / 0.7025 GB, free: 5.445 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.004328/0.5675, allocations: 1.771 MB / 0.7042 GB, free: 3.754 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5675, allocations: 8.031 kB / 0.7042 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/0.5706, allocations: 0.5632 MB / 0.7047 GB, free: 3.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.5718, allocations: 0.7185 MB / 0.7054 GB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.5721, allocations: 243.7 kB / 0.7057 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.5722, allocations: 44 kB / 0.7057 GB, free: 2.277 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001289/0.5735, allocations: 0.8152 MB / 0.7065 GB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.5748, allocations: 0.7614 MB / 0.7073 GB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5748, allocations: 0 / 0.7073 GB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.5749, allocations: 0 / 0.7073 GB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.5749, allocations: 19.95 kB / 0.7073 GB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.5803, allocations: 3.407 MB / 0.7106 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5814, allocations: 1.18 MB / 0.7118 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.582, allocations: 0.556 MB / 0.7123 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.5822, allocations: 16.77 kB / 0.7123 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.5822, allocations: 45.73 kB / 0.7124 GB, free: 13.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 2.595e-06/0.5822, allocations: 0 / 0.7124 GB, free: 13.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01162/0.5938, allocations: 3.98 MB / 0.7162 GB, free: 9.781 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.5939, allocations: 76.08 kB / 0.7163 GB, free: 9.695 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009519/0.5949, allocations: 0.6721 MB / 0.717 GB, free: 9.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.595, allocations: 25.7 kB / 0.717 GB, free: 9.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.5953, allocations: 0.4924 MB / 0.7175 GB, free: 8.871 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.5957, allocations: 322.5 kB / 0.7178 GB, free: 8.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.5957, allocations: 0 / 0.7178 GB, free: 8.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5959, allocations: 340.6 kB / 0.7181 GB, free: 8.266 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.5966, allocations: 417.8 kB / 0.7185 GB, free: 8.055 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.5973, allocations: 0.5209 MB / 0.719 GB, free: 7.711 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006785/0.598, allocations: 457.8 kB / 0.7195 GB, free: 7.465 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.598, allocations: 0 / 0.7195 GB, free: 7.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01184/0.6098, allocations: 4.098 MB / 0.7235 GB, free: 3.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.6099, allocations: 8 kB / 0.7235 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6099, allocations: 0 / 0.7235 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00529/0.6152, allocations: 1.689 MB / 0.7251 GB, free: 2.438 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/0.6161, allocations: 159.2 kB / 0.7253 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.6291, allocations: 6.892 MB / 0.732 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.6306, allocations: 187.1 kB / 0.7322 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.6307, allocations: 36 kB / 0.7322 GB, free: 13.26 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.0002947/0.631, allocations: 124.7 kB / 0.7323 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01219/0.6432, allocations: 3.984 MB / 0.7362 GB, free: 9.133 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000519/0.6438, allocations: 118.5 kB / 0.7363 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.6562, allocations: 4.115 MB / 0.7404 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.6563, allocations: 12 kB / 0.7404 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6563, allocations: 11.94 kB / 0.7404 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.6563, allocations: 3.984 kB / 0.7404 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.6758, allocations: 5.634 MB / 0.7459 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.6759, allocations: 0 / 0.7459 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.6771, allocations: 139.9 kB / 0.746 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007597/0.6847, allocations: 1.671 MB / 0.7476 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/0.6851, allocations: 7.984 kB / 0.7477 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/0.7027, allocations: 6.195 MB / 0.7537 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.7028, allocations: 0 / 0.7537 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/0.7215, allocations: 4.868 MB / 0.7585 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.7219, allocations: 207.5 kB / 0.7587 GB, free: 1.852 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.722, allocations: 3.953 kB / 0.7587 GB, free: 1.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7231, allocations: 139.9 kB / 0.7588 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005766/0.7237, allocations: 212.4 kB / 0.759 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.649e-05/0.7237, allocations: 24 kB / 0.759 GB, free: 1.477 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006385/0.7244, allocations: 0.5182 MB / 0.7595 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7244, allocations: 0 / 0.7595 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001018/0.7254, allocations: 379.5 kB / 0.7599 GB, free: 0.5781 MB / 490.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 () * 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.01294/0.7384, allocations: 5.451 MB / 0.7652 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004937/0.7433, allocations: 1.94 MB / 0.7671 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7433, allocations: 0.5625 kB / 0.7671 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004036/0.7474, allocations: 1.452 MB / 0.7685 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.7479, allocations: 64.19 kB / 0.7686 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.7508, allocations: 1.494 MB / 0.77 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.7514, allocations: 1.107 MB / 0.7711 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002918/0.7517, allocations: 61.45 kB / 0.7712 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.7522, allocations: 435.3 kB / 0.7716 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.7522, allocations: 0 / 0.7716 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.7994, allocations: 26.86 MB / 0.7978 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.7996, allocations: 148.8 kB / 0.798 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.495, allocations: 0 / 0.798 GB, free: 9.418 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)