Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.01038/0.01038, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.51/1.51, allocations: 223.2 MB / 239 MB, free: 1.805 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.0008984/0.0008982, allocations: 108 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.498/0.498, allocations: 79.44 MB / 420.8 MB, free: 43.74 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 8 kB / 0.4891 GB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4479, allocations: 69.5 MB / 0.557 GB, free: 39.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5893, allocations: 99.12 MB / 0.6538 GB, free: 6.461 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.5897, allocations: 83.95 kB / 0.6539 GB, free: 6.379 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06862/0.6583, allocations: 26.12 MB / 0.6794 GB, free: 12.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6583, allocations: 0 / 0.6794 GB, free: 12.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.171e-05/0.6584, allocations: 20 kB / 0.6794 GB, free: 12.11 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.005149/0.6636, allocations: 2.002 MB / 0.6814 GB, free: 10.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6636, allocations: 8.031 kB / 0.6814 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/0.6639, allocations: 126.8 kB / 0.6815 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.6671, allocations: 0.5642 MB / 0.682 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.6686, allocations: 0.7324 MB / 0.6827 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.6689, allocations: 268.2 kB / 0.683 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.6691, allocations: 75.94 kB / 0.6831 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.6715, allocations: 1.159 MB / 0.6842 GB, free: 7.012 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.6716, allocations: 0 / 0.6842 GB, free: 7.012 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6717, allocations: 36 kB / 0.6842 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.6717, allocations: 19.94 kB / 0.6843 GB, free: 6.957 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.6743, allocations: 1.234 MB / 0.6855 GB, free: 5.727 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006723/0.681, allocations: 3.573 MB / 0.689 GB, free: 2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.6834, allocations: 1.508 MB / 0.6904 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-05/0.6835, allocations: 13 kB / 0.6904 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.6835, allocations: 47.55 kB / 0.6905 GB, free: 320 kB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.915e-06/0.6835, allocations: 4 kB / 0.6905 GB, free: 316 kB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.0285/0.7121, allocations: 8.457 MB / 0.6987 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.7122, allocations: 64.41 kB / 0.6988 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.7134, allocations: 0.762 MB / 0.6996 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.7136, allocations: 41.7 kB / 0.6996 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.714, allocations: 0.5049 MB / 0.7001 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.7144, allocations: 339 kB / 0.7004 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.7145, allocations: 16 kB / 0.7004 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7147, allocations: 341.9 kB / 0.7007 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.7163, allocations: 0.7125 MB / 0.7014 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.7179, allocations: 0.8156 MB / 0.7022 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.7195, allocations: 0.7575 MB / 0.703 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7195, allocations: 0 / 0.703 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01477/0.7343, allocations: 4.914 MB / 0.7078 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.7344, allocations: 8 kB / 0.7078 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.7344, allocations: 0 / 0.7078 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006918/0.7413, allocations: 2.107 MB / 0.7098 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009896/0.7424, allocations: 171.8 kB / 0.71 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.7657, allocations: 9.994 MB / 0.7198 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.7675, allocations: 203.1 kB / 0.72 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.7677, allocations: 31.94 kB / 0.72 GB, free: 1.824 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (75): * Single equations (assignments): 74 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008587/0.7686, allocations: 249.6 kB / 0.7202 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.769, allocations: 122.5 kB / 0.7203 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.7836, allocations: 4.959 MB / 0.7252 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.7837, allocations: 12 kB / 0.7252 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7837, allocations: 0 / 0.7252 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.881e-05/0.7837, allocations: 3.984 kB / 0.7252 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.8017, allocations: 6.582 MB / 0.7316 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.8017, allocations: 0 / 0.7316 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/0.8027, allocations: 147.8 kB / 0.7318 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006288/0.809, allocations: 2.051 MB / 0.7338 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.8094, allocations: 27.98 kB / 0.7338 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/0.8293, allocations: 8.635 MB / 0.7422 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.8294, allocations: 3.984 kB / 0.7422 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/0.8464, allocations: 6.029 MB / 0.7481 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.847, allocations: 207.4 kB / 0.7483 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/0.8475, allocations: 19.98 kB / 0.7483 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.8489, allocations: 155.9 kB / 0.7485 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009653/0.8499, allocations: 212.6 kB / 0.7487 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/0.8501, allocations: 28 kB / 0.7487 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001312/0.8514, allocations: 0.593 MB / 0.7493 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.02e-07/0.8515, allocations: 4 kB / 0.7493 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002455/0.8539, allocations: 423.5 kB / 0.7497 GB, free: 3.031 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.01802/0.872, allocations: 6.609 MB / 0.7562 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007469/0.8795, allocations: 2.6 MB / 0.7587 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8795, allocations: 0 / 0.7587 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/0.885, allocations: 1.799 MB / 0.7605 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.8861, allocations: 73.25 kB / 0.7605 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.331/1.217, allocations: 12.64 MB / 0.7729 GB, free: 149.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/1.218, allocations: 1.124 MB / 0.774 GB, free: 148.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004966/1.218, allocations: 69.3 kB / 0.774 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/1.219, allocations: 434.6 kB / 0.7745 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/1.219, allocations: 1.531 kB / 0.7745 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/1.28, allocations: 29.24 MB / 0.803 GB, free: 147.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.28, allocations: 207.9 kB / 0.8032 GB, free: 147 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/4.172, allocations: 0 / 0.8032 GB, free: 147 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)