Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.001121/0.001121, allocations: 171.8 kB / 7.647 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.347/1.347, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.00087/0.00087, allocations: 100.7 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4849/0.4849, allocations: 78.95 MB / 410.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.818e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1462, allocations: 69.52 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5855, allocations: 96.67 MB / 0.6369 GB, free: 1.324 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5858, allocations: 77 kB / 0.637 GB, free: 1.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06006/0.6459, allocations: 22.92 MB / 0.6594 GB, free: 10.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.646, allocations: 0 / 0.6594 GB, free: 10.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.107e-05/0.646, allocations: 16 kB / 0.6594 GB, free: 10.38 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004273/0.6503, allocations: 1.582 MB / 0.6609 GB, free: 8.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.6504, allocations: 12.03 kB / 0.661 GB, free: 8.738 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.6537, allocations: 0.5293 MB / 0.6615 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.6551, allocations: 0.6641 MB / 0.6621 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.6554, allocations: 239.4 kB / 0.6623 GB, free: 7.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.6555, allocations: 40 kB / 0.6624 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/0.6568, allocations: 0.7407 MB / 0.6631 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.658, allocations: 0.6848 MB / 0.6638 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.6581, allocations: 1.812 kB / 0.6638 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.6581, allocations: 0 / 0.6638 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.6582, allocations: 16 kB / 0.6638 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005387/0.6636, allocations: 3.087 MB / 0.6668 GB, free: 2.516 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.665, allocations: 1.107 MB / 0.6679 GB, free: 1.293 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.6658, allocations: 0.5154 MB / 0.6684 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.6659, allocations: 12.72 kB / 0.6684 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.666, allocations: 39.34 kB / 0.6684 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 3.677e-06/0.666, allocations: 4 kB / 0.6684 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.01182/0.6778, allocations: 3.912 MB / 0.6723 GB, free: 12.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.6779, allocations: 64.12 kB / 0.6723 GB, free: 12.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009445/0.6788, allocations: 0.6025 MB / 0.6729 GB, free: 12.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.679, allocations: 29.69 kB / 0.6729 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.6793, allocations: 432.3 kB / 0.6734 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.6796, allocations: 271.8 kB / 0.6736 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.6797, allocations: 1.312 kB / 0.6736 GB, free: 11.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6798, allocations: 341.9 kB / 0.6739 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006257/0.6805, allocations: 385.6 kB / 0.6743 GB, free: 10.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.6811, allocations: 483.6 kB / 0.6748 GB, free: 10.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.6818, allocations: 425.2 kB / 0.6752 GB, free: 9.738 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6818, allocations: 0 / 0.6752 GB, free: 9.738 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01209/0.6939, allocations: 3.996 MB / 0.6791 GB, free: 5.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.694, allocations: 4 kB / 0.6791 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.694, allocations: 8 kB / 0.6791 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005547/0.6996, allocations: 1.69 MB / 0.6807 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.7003, allocations: 111.8 kB / 0.6809 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.7141, allocations: 6.889 MB / 0.6876 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7155, allocations: 155.3 kB / 0.6877 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/0.7156, allocations: 25.11 kB / 0.6878 GB, free: 12.72 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.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 (59): * Single equations (assignments): 58 * 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.0003219/0.716, allocations: 127.6 kB / 0.6879 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01183/0.7278, allocations: 3.91 MB / 0.6917 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/0.7284, allocations: 102.8 kB / 0.6918 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.7402, allocations: 4.004 MB / 0.6957 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.7402, allocations: 8 kB / 0.6957 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.7402, allocations: 0 / 0.6957 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/0.7403, allocations: 3.984 kB / 0.6957 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.7537, allocations: 5.399 MB / 0.701 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.7537, allocations: 4 kB / 0.701 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.7543, allocations: 97.25 kB / 0.7011 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005157/0.7595, allocations: 1.66 MB / 0.7027 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.7597, allocations: 8 kB / 0.7027 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.772, allocations: 6.198 MB / 0.7088 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.772, allocations: 0 / 0.7088 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.7848, allocations: 4.693 MB / 0.7133 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.7852, allocations: 187.6 kB / 0.7135 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.7854, allocations: 0 / 0.7135 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009624/0.7864, allocations: 116 kB / 0.7136 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005915/0.787, allocations: 204.4 kB / 0.7138 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.7871, allocations: 20 kB / 0.7138 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005911/0.7876, allocations: 479.1 kB / 0.7143 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7877, allocations: 0 / 0.7143 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001109/0.7888, allocations: 355.5 kB / 0.7146 GB, free: 0.8633 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.01315/0.8019, allocations: 5.254 MB / 0.7198 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005034/0.807, allocations: 1.839 MB / 0.7216 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8071, allocations: 4 kB / 0.7216 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00402/0.8111, allocations: 1.393 MB / 0.7229 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.8118, allocations: 60.27 kB / 0.723 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.8145, allocations: 1.263 MB / 0.7242 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.8151, allocations: 1.048 MB / 0.7252 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.8153, allocations: 57.06 kB / 0.7253 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.8157, allocations: 355.3 kB / 0.7256 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of SimCode: time 4.2e-07/0.8158, allocations: 4 kB / 0.7256 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04997/0.8657, allocations: 24.69 MB / 0.7498 GB, free: 13 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.866, allocations: 119.9 kB / 0.7499 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.583, allocations: 0 / 0.7499 GB, free: 12.81 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)