Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.001572/0.001573, allocations: 172.5 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.595/1.595, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.001168/0.001168, allocations: 95.5 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.573/0.573, allocations: 78.95 MB / 410.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.386e-05, allocations: 4 kB / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1756, allocations: 69.52 MB / 0.5425 GB, free: 5.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.6319, allocations: 98.78 MB / 0.639 GB, free: 15.19 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.6322, allocations: 81.83 kB / 0.6391 GB, free: 15.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07317/0.7054, allocations: 26.23 MB / 0.6647 GB, free: 4.914 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.696e-06/0.7055, allocations: 0 / 0.6647 GB, free: 4.914 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001402/0.7056, allocations: 20 kB / 0.6647 GB, free: 4.895 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006176/0.7118, allocations: 1.786 MB / 0.6664 GB, free: 3.062 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7119, allocations: 8.031 kB / 0.6665 GB, free: 3.055 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/0.7155, allocations: 0.5603 MB / 0.667 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.7176, allocations: 0.7325 MB / 0.6677 GB, free: 1.703 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003404/0.718, allocations: 236.2 kB / 0.6679 GB, free: 1.438 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.7183, allocations: 51.86 kB / 0.668 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001972/0.7203, allocations: 0.8241 MB / 0.6688 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.722, allocations: 0.7648 MB / 0.6695 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.7221, allocations: 4 kB / 0.6695 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.7222, allocations: 2.75 kB / 0.6696 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.7222, allocations: 16 kB / 0.6696 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007742/0.7299, allocations: 3.456 MB / 0.6729 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.7315, allocations: 1.199 MB / 0.6741 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008879/0.7324, allocations: 0.5583 MB / 0.6747 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.7326, allocations: 20.75 kB / 0.6747 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.7326, allocations: 47.28 kB / 0.6747 GB, free: 10.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.026e-06/0.7326, allocations: 4 kB / 0.6747 GB, free: 10.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01256/0.7452, allocations: 4.005 MB / 0.6786 GB, free: 6.203 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.7453, allocations: 64.84 kB / 0.6787 GB, free: 6.125 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.7466, allocations: 0.6794 MB / 0.6794 GB, free: 5.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002826/0.7469, allocations: 25.7 kB / 0.6794 GB, free: 5.398 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.7473, allocations: 0.5009 MB / 0.6799 GB, free: 4.891 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.7479, allocations: 334.9 kB / 0.6802 GB, free: 4.559 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.748, allocations: 0 / 0.6802 GB, free: 4.559 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7482, allocations: 334 kB / 0.6805 GB, free: 4.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008499/0.7491, allocations: 431.4 kB / 0.6809 GB, free: 3.805 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008841/0.7499, allocations: 0.5238 MB / 0.6814 GB, free: 3.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008568/0.7508, allocations: 475.5 kB / 0.6819 GB, free: 2.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.7508, allocations: 0 / 0.6819 GB, free: 2.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01281/0.7637, allocations: 4.126 MB / 0.6859 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.7637, allocations: 7.953 kB / 0.6859 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.7638, allocations: 4.625 kB / 0.6859 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005781/0.7695, allocations: 1.678 MB / 0.6876 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.7705, allocations: 167.8 kB / 0.6877 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.786, allocations: 7.051 MB / 0.6946 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.7876, allocations: 191.1 kB / 0.6948 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/0.7879, allocations: 27.98 kB / 0.6948 GB, free: 5.398 MB / 0.4948 GB 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.000433/0.7883, allocations: 127.6 kB / 0.6949 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0127/0.801, allocations: 4.014 MB / 0.6989 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/0.8018, allocations: 118.5 kB / 0.699 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.8148, allocations: 4.151 MB / 0.703 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.8149, allocations: 12 kB / 0.703 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8149, allocations: 4.656 kB / 0.703 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/0.815, allocations: 7.938 kB / 0.7031 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.8308, allocations: 5.64 MB / 0.7086 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.8308, allocations: 0 / 0.7086 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.8318, allocations: 147.8 kB / 0.7087 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005574/0.8374, allocations: 1.659 MB / 0.7103 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002939/0.8377, allocations: 7.984 kB / 0.7103 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.8515, allocations: 6.188 MB / 0.7164 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.8515, allocations: 3.953 kB / 0.7164 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.8661, allocations: 4.872 MB / 0.7211 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/0.8667, allocations: 211.4 kB / 0.7213 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/0.8672, allocations: 8 kB / 0.7213 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.8689, allocations: 135.9 kB / 0.7215 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009035/0.8698, allocations: 220.9 kB / 0.7217 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/0.87, allocations: 24 kB / 0.7217 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001071/0.8711, allocations: 0.5187 MB / 0.7222 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8711, allocations: 0 / 0.7222 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002079/0.8732, allocations: 387.5 kB / 0.7226 GB, free: 8.637 MB / 0.5261 GB 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.01636/0.8896, allocations: 5.471 MB / 0.7279 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006118/0.8957, allocations: 1.957 MB / 0.7298 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.8958, allocations: 0 / 0.7298 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004884/0.9007, allocations: 1.452 MB / 0.7313 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.9018, allocations: 57.44 kB / 0.7313 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.906, allocations: 1.647 MB / 0.7329 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.9068, allocations: 1.122 MB / 0.734 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003878/0.9072, allocations: 73.5 kB / 0.7341 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005694/0.9078, allocations: 423.3 kB / 0.7345 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/0.9078, allocations: 0 / 0.7345 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06262/0.9705, allocations: 27.24 MB / 0.7611 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/0.9708, allocations: 138.9 kB / 0.7612 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/4.011, allocations: 0 / 0.7612 GB, free: 1.164 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)