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.0009513/0.0009512, allocations: 180.9 kB / 7.65 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.304/1.304, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008628/0.0008629, allocations: 103.1 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4608/0.4608, allocations: 78.12 MB / 409.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.861e-05, allocations: 11.88 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 69.35 MB / 0.5414 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5839, allocations: 97.8 MB / 0.6369 GB, free: 1.848 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5842, allocations: 83.95 kB / 0.637 GB, free: 1.766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06743/0.6517, allocations: 25.41 MB / 0.6618 GB, free: 8.422 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6517, allocations: 5.312 kB / 0.6618 GB, free: 8.418 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.908e-05/0.6518, allocations: 20 kB / 0.6618 GB, free: 8.398 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004625/0.6564, allocations: 1.778 MB / 0.6636 GB, free: 6.574 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6565, allocations: 11.97 kB / 0.6636 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.6597, allocations: 0.5603 MB / 0.6641 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.6611, allocations: 0.7207 MB / 0.6648 GB, free: 5.223 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.6614, allocations: 244.2 kB / 0.6651 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.6615, allocations: 44 kB / 0.6651 GB, free: 4.906 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/0.6629, allocations: 0.8202 MB / 0.6659 GB, free: 4.086 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.6643, allocations: 0.761 MB / 0.6667 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.6643, allocations: 0 / 0.6667 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/0.6644, allocations: 0 / 0.6667 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.6644, allocations: 24 kB / 0.6667 GB, free: 3.293 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/0.6702, allocations: 3.425 MB / 0.67 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.6714, allocations: 1.192 MB / 0.6712 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/0.6722, allocations: 0.5623 MB / 0.6717 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.6724, allocations: 16.77 kB / 0.6718 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.6724, allocations: 43.34 kB / 0.6718 GB, free: 13.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.076e-06/0.6724, allocations: 0 / 0.6718 GB, free: 13.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01202/0.6844, allocations: 4.007 MB / 0.6757 GB, free: 9.766 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.6845, allocations: 64.19 kB / 0.6758 GB, free: 9.688 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009781/0.6855, allocations: 0.6834 MB / 0.6764 GB, free: 8.988 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.6857, allocations: 25.7 kB / 0.6765 GB, free: 8.957 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.6861, allocations: 0.5009 MB / 0.677 GB, free: 8.449 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.6864, allocations: 335.9 kB / 0.6773 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.6865, allocations: 0 / 0.6773 GB, free: 8.117 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6866, allocations: 334 kB / 0.6776 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/0.6873, allocations: 426.6 kB / 0.678 GB, free: 7.367 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.6882, allocations: 0.5159 MB / 0.6785 GB, free: 6.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.6889, allocations: 467.6 kB / 0.6789 GB, free: 6.367 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.689, allocations: 3.953 kB / 0.679 GB, free: 6.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01251/0.7015, allocations: 4.082 MB / 0.6829 GB, free: 2.266 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.7015, allocations: 8.562 kB / 0.6829 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.7016, allocations: 0 / 0.6829 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.7072, allocations: 1.696 MB / 0.6846 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009614/0.7082, allocations: 167.8 kB / 0.6848 GB, free: 404 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.7218, allocations: 7.065 MB / 0.6917 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.7236, allocations: 185.7 kB / 0.6918 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.7238, allocations: 40.83 kB / 0.6919 GB, free: 8.98 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "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 () * 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.0003474/0.7241, allocations: 112.9 kB / 0.692 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.012/0.7361, allocations: 4.005 MB / 0.6959 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.7364, allocations: 122.5 kB / 0.696 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.7487, allocations: 4.128 MB / 0.7 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.7487, allocations: 12 kB / 0.7001 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7487, allocations: 5.266 kB / 0.7001 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.7488, allocations: 7.984 kB / 0.7001 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.7631, allocations: 5.652 MB / 0.7056 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7632, allocations: 0 / 0.7056 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007712/0.7639, allocations: 139.9 kB / 0.7057 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005098/0.7691, allocations: 1.675 MB / 0.7074 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.7692, allocations: 7.984 kB / 0.7074 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.7819, allocations: 6.194 MB / 0.7134 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.782, allocations: 0 / 0.7134 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/0.7956, allocations: 4.907 MB / 0.7182 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.7961, allocations: 207.4 kB / 0.7184 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/0.7965, allocations: 11.98 kB / 0.7184 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.7978, allocations: 135.9 kB / 0.7185 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007054/0.7985, allocations: 216.9 kB / 0.7188 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.7987, allocations: 24.75 kB / 0.7188 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008592/0.7995, allocations: 0.5225 MB / 0.7193 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7995, allocations: 0 / 0.7193 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001861/0.8014, allocations: 387.4 kB / 0.7197 GB, free: 12.2 MB / 0.5261 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 () * 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.01459/0.816, allocations: 5.494 MB / 0.725 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005787/0.8218, allocations: 1.955 MB / 0.7269 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.8219, allocations: 0 / 0.7269 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004811/0.8267, allocations: 1.449 MB / 0.7283 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.828, allocations: 58.22 kB / 0.7284 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.8329, allocations: 1.571 MB / 0.7299 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009242/0.8339, allocations: 1.121 MB / 0.731 GB, free: 452 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004105/0.8343, allocations: 69.48 kB / 0.7311 GB, free: 380 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/0.835, allocations: 427.4 kB / 0.7315 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of SimCode: time 1.282e-06/0.835, allocations: 4 kB / 0.7315 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/0.9052, allocations: 27.29 MB / 0.7582 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/0.9055, allocations: 159.1 kB / 0.7583 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/3.788, allocations: 0 / 0.7583 GB, free: 4.734 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)