Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_release_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.007039/0.00704, allocations: 170.5 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.354/1.354, 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.0009391/0.0009393, allocations: 101.6 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.4662/0.4662, allocations: 78.58 MB / 419.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 16 kB / 499.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3734, allocations: 69.34 MB / 0.5559 GB, free: 39.11 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4924, allocations: 98.54 MB / 0.6521 GB, free: 7.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4927, allocations: 75.97 kB / 0.6522 GB, free: 7.906 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06731/0.56, allocations: 25.83 MB / 0.6774 GB, free: 13.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.56, allocations: 0 / 0.6774 GB, free: 13.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.263e-05/0.5601, allocations: 20 kB / 0.6774 GB, free: 13.92 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.005199/0.5653, allocations: 1.998 MB / 0.6794 GB, free: 11.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5654, allocations: 12.03 kB / 0.6794 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000272/0.5656, allocations: 126.8 kB / 0.6795 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.569, allocations: 0.5642 MB / 0.68 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.5706, allocations: 0.7285 MB / 0.6808 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.5709, allocations: 268.2 kB / 0.681 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.5711, allocations: 80 kB / 0.6811 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.5736, allocations: 1.155 MB / 0.6822 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5736, allocations: 0 / 0.6822 GB, free: 8.832 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.92e-05/0.5737, allocations: 36 kB / 0.6823 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.5737, allocations: 16 kB / 0.6823 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.5763, allocations: 1.245 MB / 0.6835 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006428/0.5828, allocations: 3.561 MB / 0.687 GB, free: 3.824 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.585, allocations: 1.507 MB / 0.6884 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.5851, allocations: 13 kB / 0.6884 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.5851, allocations: 43.56 kB / 0.6885 GB, free: 2.141 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.484e-06/0.5851, allocations: 4 kB / 0.6885 GB, free: 2.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.02842/0.6136, allocations: 8.462 MB / 0.6968 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.6136, allocations: 64.34 kB / 0.6968 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.6148, allocations: 0.7542 MB / 0.6976 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.615, allocations: 45.69 kB / 0.6976 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.6154, allocations: 0.5088 MB / 0.6981 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/0.6158, allocations: 335 kB / 0.6984 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.6159, allocations: 20 kB / 0.6984 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.616, allocations: 337.9 kB / 0.6988 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.6175, allocations: 0.7164 MB / 0.6995 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.6191, allocations: 0.8195 MB / 0.7003 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.6207, allocations: 0.7536 MB / 0.701 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6208, allocations: 0 / 0.701 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0164/0.6372, allocations: 4.914 MB / 0.7058 GB, free: 292 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.6372, allocations: 8 kB / 0.7058 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.6373, allocations: 0 / 0.7058 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/0.6479, allocations: 2.111 MB / 0.7079 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.6493, allocations: 171.8 kB / 0.708 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03393/0.6833, allocations: 9.994 MB / 0.7178 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.6853, allocations: 203.2 kB / 0.718 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.6855, allocations: 31.98 kB / 0.718 GB, free: 3.637 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.0007724/0.6863, allocations: 240 kB / 0.7182 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.6867, allocations: 122.5 kB / 0.7183 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02178/0.7085, allocations: 4.967 MB / 0.7232 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.7086, allocations: 12 kB / 0.7232 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7086, allocations: 3.938 kB / 0.7232 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/0.7086, allocations: 3.984 kB / 0.7232 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/0.7323, allocations: 6.578 MB / 0.7296 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/0.7324, allocations: 0 / 0.7296 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.7337, allocations: 147.8 kB / 0.7298 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00944/0.7432, allocations: 2.055 MB / 0.7318 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003792/0.7436, allocations: 27.97 kB / 0.7318 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03069/0.7743, allocations: 8.647 MB / 0.7403 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.7744, allocations: 0 / 0.7403 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02515/0.7995, allocations: 6.013 MB / 0.7461 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006095/0.8002, allocations: 211.3 kB / 0.7463 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.8005, allocations: 20 kB / 0.7464 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.8021, allocations: 155.9 kB / 0.7465 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009801/0.8031, allocations: 216.6 kB / 0.7467 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.8032, allocations: 20 kB / 0.7467 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001202/0.8044, allocations: 0.6008 MB / 0.7473 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8044, allocations: 0 / 0.7473 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001815/0.8063, allocations: 423.5 kB / 0.7477 GB, free: 4.848 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.02636/0.8326, allocations: 6.608 MB / 0.7542 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01094/0.8436, allocations: 2.602 MB / 0.7567 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.8437, allocations: 0 / 0.7567 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008182/0.8519, allocations: 1.801 MB / 0.7585 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009376/0.8529, allocations: 76.38 kB / 0.7585 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2922/1.145, allocations: 12.63 MB / 0.7709 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/1.146, allocations: 1.122 MB / 0.772 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000372/1.146, allocations: 67.38 kB / 0.772 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/1.147, allocations: 435.1 kB / 0.7725 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/1.147, allocations: 1.531 kB / 0.7725 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05078/1.197, allocations: 29.24 MB / 0.801 GB, free: 146.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/1.198, allocations: 218 kB / 0.8012 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/4.166, allocations: 0 / 0.8012 GB, free: 146.4 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)