Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_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.001328/0.001329, allocations: 173.8 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.5 MB / 229.6 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008924/0.0008922, allocations: 84.3 kB / 280.4 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5605/0.5605, allocations: 78.08 MB / 409.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.762e-05, allocations: 4 kB / 485 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1484, allocations: 69.36 MB / 0.5414 GB, free: 6.699 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.5901, allocations: 97.58 MB / 0.6367 GB, free: 1.793 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.5905, allocations: 79.95 kB / 0.6367 GB, free: 1.715 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06648/0.657, allocations: 25.08 MB / 0.6612 GB, free: 8.676 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.657, allocations: 0 / 0.6612 GB, free: 8.676 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.608e-05/0.6571, allocations: 21.31 kB / 0.6613 GB, free: 8.656 MB / 474.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.00454/0.6616, allocations: 1.77 MB / 0.663 GB, free: 6.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6617, allocations: 8.031 kB / 0.663 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.665, allocations: 0.5564 MB / 0.6635 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.6665, allocations: 0.7206 MB / 0.6642 GB, free: 5.496 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.6668, allocations: 236.2 kB / 0.6645 GB, free: 5.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.6669, allocations: 44 kB / 0.6645 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001442/0.6684, allocations: 0.8201 MB / 0.6653 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.6697, allocations: 0.7571 MB / 0.666 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.6697, allocations: 0 / 0.666 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.6698, allocations: 0 / 0.666 GB, free: 3.602 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.6698, allocations: 20 kB / 0.6661 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006085/0.6759, allocations: 3.409 MB / 0.6694 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.6772, allocations: 1.183 MB / 0.6706 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.6779, allocations: 0.5583 MB / 0.6711 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.6781, allocations: 12.77 kB / 0.6711 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.6781, allocations: 43.34 kB / 0.6712 GB, free: 14.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.646e-06/0.6781, allocations: 0 / 0.6712 GB, free: 14.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01215/0.6903, allocations: 3.984 MB / 0.675 GB, free: 10.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.6904, allocations: 64.19 kB / 0.6751 GB, free: 10.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.6915, allocations: 0.675 MB / 0.6758 GB, free: 9.344 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003637/0.6919, allocations: 25.7 kB / 0.6758 GB, free: 9.312 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.6923, allocations: 0.4969 MB / 0.6763 GB, free: 8.809 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/0.6928, allocations: 316.1 kB / 0.6766 GB, free: 8.496 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.6929, allocations: 0 / 0.6766 GB, free: 8.496 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6931, allocations: 337.9 kB / 0.6769 GB, free: 8.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000727/0.6938, allocations: 418.6 kB / 0.6773 GB, free: 7.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.6946, allocations: 0.5155 MB / 0.6778 GB, free: 7.203 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007942/0.6954, allocations: 461.2 kB / 0.6782 GB, free: 6.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.6954, allocations: 3.953 kB / 0.6782 GB, free: 6.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01262/0.708, allocations: 4.105 MB / 0.6823 GB, free: 2.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.7081, allocations: 9.516 kB / 0.6823 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.7081, allocations: 4.562 kB / 0.6823 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005523/0.7137, allocations: 1.681 MB / 0.6839 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008646/0.7145, allocations: 159.8 kB / 0.6841 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.7286, allocations: 6.888 MB / 0.6908 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.7302, allocations: 187.2 kB / 0.691 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.7304, allocations: 32 kB / 0.691 GB, free: 9.551 MB / 0.4948 GB 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.0004697/0.7309, allocations: 125.7 kB / 0.6911 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01206/0.743, allocations: 3.996 MB / 0.695 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/0.7436, allocations: 118.5 kB / 0.6951 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.7566, allocations: 4.111 MB / 0.6991 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.7567, allocations: 12 kB / 0.6992 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7567, allocations: 3.953 kB / 0.6992 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/0.7567, allocations: 7.984 kB / 0.6992 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.772, allocations: 5.622 MB / 0.7047 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.772, allocations: 0 / 0.7047 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/0.7729, allocations: 139.9 kB / 0.7048 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005301/0.7782, allocations: 1.664 MB / 0.7064 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.7784, allocations: 4 kB / 0.7064 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.7917, allocations: 6.218 MB / 0.7125 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.7918, allocations: 0 / 0.7125 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.8056, allocations: 4.864 MB / 0.7172 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.8063, allocations: 199.5 kB / 0.7174 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000433/0.8068, allocations: 8 kB / 0.7174 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.8082, allocations: 141.8 kB / 0.7176 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007898/0.8091, allocations: 212.4 kB / 0.7178 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.8092, allocations: 25.69 kB / 0.7178 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008603/0.8101, allocations: 0.5143 MB / 0.7183 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8101, allocations: 4 kB / 0.7183 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001763/0.8119, allocations: 383.4 kB / 0.7187 GB, free: 12.88 MB / 0.5261 GB 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.01423/0.8261, allocations: 5.455 MB / 0.724 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005661/0.8318, allocations: 1.93 MB / 0.7259 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8319, allocations: 0.5625 kB / 0.7259 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004475/0.8364, allocations: 1.436 MB / 0.7273 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.8373, allocations: 56.31 kB / 0.7273 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.8415, allocations: 1.496 MB / 0.7288 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.8423, allocations: 1.111 MB / 0.7299 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004025/0.8427, allocations: 61.47 kB / 0.7299 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/0.8433, allocations: 427.3 kB / 0.7304 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.8433, allocations: 0 / 0.7304 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05836/0.9017, allocations: 26.86 MB / 0.7566 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.902, allocations: 145.1 kB / 0.7567 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/3.696, allocations: 3.938 kB / 0.7567 GB, free: 5.984 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)