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.00125/0.00125, allocations: 174.7 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.247/1.247, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.000885/0.000885, allocations: 92.09 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4669/0.4669, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.292e-05, allocations: 4 kB / 491.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3436, allocations: 69.35 MB / 0.5481 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4685, allocations: 98.24 MB / 0.644 GB, free: 2.152 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.4688, allocations: 79.95 kB / 0.6441 GB, free: 2.074 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06779/0.5366, allocations: 25.41 MB / 0.6689 GB, free: 8.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5366, allocations: 0 / 0.6689 GB, free: 8.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.912e-05/0.5367, allocations: 24 kB / 0.6689 GB, free: 8.457 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00515/0.5419, allocations: 1.77 MB / 0.6706 GB, free: 6.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5419, allocations: 15.97 kB / 0.6706 GB, free: 6.621 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003434/0.5423, allocations: 130.8 kB / 0.6708 GB, free: 6.484 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.5456, allocations: 0.5568 MB / 0.6713 GB, free: 5.926 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.5471, allocations: 0.7243 MB / 0.672 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.5474, allocations: 268.2 kB / 0.6723 GB, free: 4.848 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.5476, allocations: 72 kB / 0.6723 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.5492, allocations: 0.8626 MB / 0.6732 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5493, allocations: 0 / 0.6732 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.5494, allocations: 32 kB / 0.6732 GB, free: 3.875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.5494, allocations: 16 kB / 0.6732 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.5509, allocations: 0.8592 MB / 0.6741 GB, free: 3.004 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3252/0.8761, allocations: 3.54 MB / 0.6775 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.8778, allocations: 1.202 MB / 0.6787 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.8788, allocations: 0.5808 MB / 0.6793 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.879, allocations: 16.78 kB / 0.6793 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.879, allocations: 45.34 kB / 0.6793 GB, free: 103.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.346e-06/0.879, allocations: 0 / 0.6793 GB, free: 103.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01416/0.8932, allocations: 4.057 MB / 0.6833 GB, free: 103.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.8933, allocations: 63.97 kB / 0.6834 GB, free: 103.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.8947, allocations: 0.7357 MB / 0.6841 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.8949, allocations: 42.11 kB / 0.6841 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.8952, allocations: 0.4958 MB / 0.6846 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.8955, allocations: 326.6 kB / 0.6849 GB, free: 103 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.8956, allocations: 17.53 kB / 0.6849 GB, free: 103 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.8957, allocations: 347.6 kB / 0.6853 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007206/0.8964, allocations: 433 kB / 0.6857 GB, free: 102.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.8971, allocations: 0.5295 MB / 0.6862 GB, free: 102.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.8978, allocations: 478.6 kB / 0.6866 GB, free: 102.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8978, allocations: 0 / 0.6866 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01167/0.9095, allocations: 4.189 MB / 0.6907 GB, free: 102.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.9095, allocations: 3.281 kB / 0.6907 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.9096, allocations: 7.219 kB / 0.6907 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005224/0.9148, allocations: 1.793 MB / 0.6925 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.9156, allocations: 167.5 kB / 0.6927 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.9287, allocations: 7.101 MB / 0.6996 GB, free: 98.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.9301, allocations: 207.5 kB / 0.6998 GB, free: 98.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/0.9302, allocations: 32.7 kB / 0.6998 GB, free: 98.43 MB / 490.7 MB 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.0002157/0.9304, allocations: 151 kB / 0.7 GB, free: 98.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.9306, allocations: 121 kB / 0.7001 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.9419, allocations: 4.212 MB / 0.7042 GB, free: 97.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.9419, allocations: 11.69 kB / 0.7042 GB, free: 97.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9419, allocations: 0 / 0.7042 GB, free: 97.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/0.942, allocations: 3.797 kB / 0.7042 GB, free: 97.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.9553, allocations: 5.799 MB / 0.7099 GB, free: 93.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.9554, allocations: 0 / 0.7099 GB, free: 93.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/0.9561, allocations: 144 kB / 0.71 GB, free: 93.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004819/0.9609, allocations: 1.682 MB / 0.7116 GB, free: 91.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.9611, allocations: 23.66 kB / 0.7117 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.9724, allocations: 6.326 MB / 0.7178 GB, free: 86.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9724, allocations: 3.938 kB / 0.7179 GB, free: 86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/0.9845, allocations: 4.952 MB / 0.7227 GB, free: 81.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.9849, allocations: 206.7 kB / 0.7229 GB, free: 81.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.985, allocations: 19.14 kB / 0.7229 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009985/0.986, allocations: 164.7 kB / 0.7231 GB, free: 81.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006615/0.9867, allocations: 216.4 kB / 0.7233 GB, free: 81.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.9868, allocations: 20 kB / 0.7233 GB, free: 81.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006237/0.9874, allocations: 0.57 MB / 0.7238 GB, free: 80.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9874, allocations: 4 kB / 0.7238 GB, free: 80.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001021/0.9885, allocations: 421.3 kB / 0.7242 GB, free: 80.47 MB / 490.7 MB 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.01234/1.001, allocations: 5.547 MB / 0.7297 GB, free: 75.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004778/1.006, allocations: 2.003 MB / 0.7316 GB, free: 73.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/1.006, allocations: 0 / 0.7316 GB, free: 73.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003792/1.009, allocations: 1.491 MB / 0.7331 GB, free: 71.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/1.01, allocations: 64.42 kB / 0.7331 GB, free: 71.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/1.013, allocations: 1.566 MB / 0.7347 GB, free: 70.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/1.014, allocations: 1.107 MB / 0.7357 GB, free: 69.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002988/1.014, allocations: 71.27 kB / 0.7358 GB, free: 68.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/1.014, allocations: 435.3 kB / 0.7362 GB, free: 68.53 MB / 490.7 MB Notification: Performance of SimCode: time 9.61e-07/1.014, allocations: 0 / 0.7362 GB, free: 68.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/1.06, allocations: 28.71 MB / 0.7643 GB, free: 40.33 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/1.06, allocations: 190.4 kB / 0.7645 GB, free: 40.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.792, allocations: 0 / 0.7645 GB, free: 40.1 MB / 490.7 MB (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)