Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.001067/0.001067, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.286/1.286, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008519/0.000852, allocations: 94.42 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4612/0.4612, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.155e-05, allocations: 7.984 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3097, allocations: 69.35 MB / 0.5481 GB, free: 20 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4225, allocations: 98.76 MB / 0.6445 GB, free: 1.641 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4229, allocations: 79.95 kB / 0.6446 GB, free: 1.562 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0696/0.4925, allocations: 25.87 MB / 0.6698 GB, free: 7.496 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4925, allocations: 4 kB / 0.6698 GB, free: 7.492 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.66e-05/0.4926, allocations: 20 kB / 0.6699 GB, free: 7.473 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.005391/0.498, allocations: 1.781 MB / 0.6716 GB, free: 5.641 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4981, allocations: 15.97 kB / 0.6716 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004054/0.4985, allocations: 126.8 kB / 0.6717 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.5021, allocations: 0.5642 MB / 0.6723 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.5041, allocations: 0.7364 MB / 0.673 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.5045, allocations: 272.1 kB / 0.6733 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/0.5047, allocations: 79.91 kB / 0.6733 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.5067, allocations: 0.8704 MB / 0.6742 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5067, allocations: 0 / 0.6742 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.5068, allocations: 32 kB / 0.6742 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.5069, allocations: 20 kB / 0.6742 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5086, allocations: 0.8631 MB / 0.6751 GB, free: 1.965 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3183/0.8269, allocations: 3.553 MB / 0.6786 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.8285, allocations: 1.225 MB / 0.6798 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009791/0.8295, allocations: 0.588 MB / 0.6803 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.8296, allocations: 17.7 kB / 0.6803 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.8296, allocations: 41.59 kB / 0.6804 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.116e-06/0.8296, allocations: 3.75 kB / 0.6804 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01452/0.8442, allocations: 4.094 MB / 0.6844 GB, free: 103.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.8443, allocations: 70.06 kB / 0.6845 GB, free: 103.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.8458, allocations: 0.7377 MB / 0.6852 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002561/0.846, allocations: 45.45 kB / 0.6852 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.8464, allocations: 0.4979 MB / 0.6857 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/0.8468, allocations: 340 kB / 0.686 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.8469, allocations: 17.59 kB / 0.686 GB, free: 102.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.847, allocations: 339 kB / 0.6864 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007607/0.8478, allocations: 453.1 kB / 0.6868 GB, free: 102.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/0.8486, allocations: 0.5392 MB / 0.6873 GB, free: 102.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.8493, allocations: 493.4 kB / 0.6878 GB, free: 102.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8494, allocations: 3.219 kB / 0.6878 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01161/0.861, allocations: 4.208 MB / 0.6919 GB, free: 102.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.8611, allocations: 5.906 kB / 0.6919 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.8611, allocations: 3.469 kB / 0.6919 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005417/0.8665, allocations: 1.726 MB / 0.6936 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008622/0.8674, allocations: 167.7 kB / 0.6938 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.881, allocations: 7.259 MB / 0.7009 GB, free: 97.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.8825, allocations: 210 kB / 0.7011 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.8827, allocations: 27.41 kB / 0.7011 GB, free: 97.76 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.000278/0.883, allocations: 150 kB / 0.7012 GB, free: 97.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.8833, allocations: 128.1 kB / 0.7013 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/0.8951, allocations: 4.229 MB / 0.7055 GB, free: 96.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.8952, allocations: 9.719 kB / 0.7055 GB, free: 96.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8952, allocations: 0 / 0.7055 GB, free: 96.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/0.8952, allocations: 7.078 kB / 0.7055 GB, free: 96.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.9094, allocations: 5.81 MB / 0.7112 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.9094, allocations: 3.516 kB / 0.7112 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008298/0.9103, allocations: 145.9 kB / 0.7113 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/0.9152, allocations: 1.693 MB / 0.713 GB, free: 90.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/0.9154, allocations: 16 kB / 0.713 GB, free: 90.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.9273, allocations: 6.313 MB / 0.7191 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9274, allocations: 4 kB / 0.7191 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/0.9403, allocations: 4.964 MB / 0.724 GB, free: 80.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.9409, allocations: 204.2 kB / 0.7242 GB, free: 80.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/0.9414, allocations: 16 kB / 0.7242 GB, free: 80.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.9428, allocations: 157.1 kB / 0.7243 GB, free: 80.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008186/0.9436, allocations: 233.5 kB / 0.7246 GB, free: 80.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.9438, allocations: 20 kB / 0.7246 GB, free: 80.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009541/0.9448, allocations: 0.5785 MB / 0.7252 GB, free: 79.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9448, allocations: 4 kB / 0.7252 GB, free: 79.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001799/0.9466, allocations: 426 kB / 0.7256 GB, free: 79.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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.01339/0.96, allocations: 5.56 MB / 0.731 GB, free: 74.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005232/0.9652, allocations: 2.022 MB / 0.733 GB, free: 71.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.9653, allocations: 0 / 0.733 GB, free: 71.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004223/0.9695, allocations: 1.506 MB / 0.7344 GB, free: 70.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/0.9705, allocations: 76.41 kB / 0.7345 GB, free: 70.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.9749, allocations: 1.703 MB / 0.7362 GB, free: 68.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.9754, allocations: 1.122 MB / 0.7373 GB, free: 67.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.9758, allocations: 73.05 kB / 0.7373 GB, free: 67.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.9763, allocations: 423.3 kB / 0.7377 GB, free: 67.04 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9763, allocations: 0 / 0.7377 GB, free: 67.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05124/1.028, allocations: 29.09 MB / 0.7662 GB, free: 38.45 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/1.028, allocations: 187.1 kB / 0.7663 GB, free: 38.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.834, allocations: 11.31 kB / 0.7663 GB, free: 38.21 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)