Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_release_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.001653/0.001653, 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.533/1.533, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008321/0.0008321, allocations: 97.72 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4671/0.4671, allocations: 78.12 MB / 409.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.296e-05, allocations: 3.938 kB / 485.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 69.36 MB / 0.5414 GB, free: 6.879 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.5064, allocations: 98.09 MB / 0.6372 GB, free: 1.504 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.5066, allocations: 80.95 kB / 0.6373 GB, free: 1.426 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06743/0.574, allocations: 25.54 MB / 0.6622 GB, free: 7.938 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.5741, allocations: 4 kB / 0.6622 GB, free: 7.934 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.127e-05/0.5741, allocations: 20 kB / 0.6623 GB, free: 7.914 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.004735/0.5789, allocations: 1.782 MB / 0.664 GB, free: 6.086 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5789, allocations: 12.03 kB / 0.664 GB, free: 6.074 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/0.5824, allocations: 0.5576 MB / 0.6645 GB, free: 5.516 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.584, allocations: 0.7248 MB / 0.6653 GB, free: 4.734 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.5843, allocations: 244.2 kB / 0.6655 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.5845, allocations: 51.86 kB / 0.6655 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001514/0.586, allocations: 0.824 MB / 0.6663 GB, free: 3.586 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.5874, allocations: 0.7688 MB / 0.6671 GB, free: 2.809 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5874, allocations: 0 / 0.6671 GB, free: 2.809 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.5875, allocations: 0 / 0.6671 GB, free: 2.809 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.5875, allocations: 20 kB / 0.6671 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.5937, allocations: 3.421 MB / 0.6705 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.5949, allocations: 1.208 MB / 0.6716 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/0.5957, allocations: 0.5622 MB / 0.6722 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.5959, allocations: 8.781 kB / 0.6722 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.5959, allocations: 47.34 kB / 0.6722 GB, free: 13.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.635e-06/0.5959, allocations: 0.9375 kB / 0.6722 GB, free: 13.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01222/0.6081, allocations: 4.027 MB / 0.6762 GB, free: 9.238 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.6082, allocations: 64.19 kB / 0.6762 GB, free: 9.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009485/0.6092, allocations: 0.6756 MB / 0.6769 GB, free: 8.469 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.6093, allocations: 25.7 kB / 0.6769 GB, free: 8.438 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.6097, allocations: 0.5048 MB / 0.6774 GB, free: 7.926 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.61, allocations: 327 kB / 0.6777 GB, free: 7.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.6101, allocations: 0 / 0.6777 GB, free: 7.602 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6102, allocations: 341.9 kB / 0.678 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/0.6109, allocations: 426.6 kB / 0.6785 GB, free: 6.844 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/0.6116, allocations: 0.5243 MB / 0.679 GB, free: 6.289 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.6123, allocations: 471.6 kB / 0.6794 GB, free: 5.832 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6123, allocations: 4 kB / 0.6794 GB, free: 5.828 MB / 490.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0121/0.6244, allocations: 4.122 MB / 0.6834 GB, free: 1.691 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.6245, allocations: 17.67 kB / 0.6835 GB, free: 1.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.6245, allocations: 0.75 kB / 0.6835 GB, free: 1.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005421/0.63, allocations: 1.677 MB / 0.6851 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008319/0.6308, allocations: 167.7 kB / 0.6853 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/0.6446, allocations: 7.06 MB / 0.6922 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.6462, allocations: 187.1 kB / 0.6923 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.6463, allocations: 28 kB / 0.6924 GB, free: 8.438 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.0003307/0.6466, allocations: 116.8 kB / 0.6925 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01193/0.6586, allocations: 4.023 MB / 0.6964 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/0.659, allocations: 124 kB / 0.6965 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.6714, allocations: 4.143 MB / 0.7006 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/0.6715, allocations: 8.047 kB / 0.7006 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6715, allocations: 7.953 kB / 0.7006 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.6715, allocations: 3.938 kB / 0.7006 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.6859, allocations: 5.638 MB / 0.7061 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.686, allocations: 6.562 kB / 0.7061 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009718/0.687, allocations: 147.8 kB / 0.7062 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005336/0.6923, allocations: 1.667 MB / 0.7079 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.6925, allocations: 7.984 kB / 0.7079 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/0.7049, allocations: 6.187 MB / 0.7139 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7049, allocations: 0 / 0.7139 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/0.7185, allocations: 4.884 MB / 0.7187 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.7189, allocations: 203.4 kB / 0.7189 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.7191, allocations: 0 / 0.7189 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.7203, allocations: 143.9 kB / 0.719 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006272/0.7209, allocations: 218.2 kB / 0.7192 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/0.721, allocations: 26.81 kB / 0.7192 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000656/0.7216, allocations: 0.5186 MB / 0.7198 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7217, allocations: 0 / 0.7198 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001136/0.7228, allocations: 387.5 kB / 0.7201 GB, free: 11.67 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.01386/0.7367, allocations: 5.486 MB / 0.7255 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005139/0.7419, allocations: 1.95 MB / 0.7274 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7419, allocations: 0 / 0.7274 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004206/0.7461, allocations: 1.445 MB / 0.7288 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.7469, allocations: 64.41 kB / 0.7289 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.7502, allocations: 1.642 MB / 0.7305 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.7508, allocations: 1.122 MB / 0.7316 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003224/0.7512, allocations: 70.69 kB / 0.7316 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/0.7517, allocations: 423.2 kB / 0.732 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/0.7517, allocations: 0 / 0.732 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05432/0.8061, allocations: 27.24 MB / 0.7586 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.8063, allocations: 151.7 kB / 0.7588 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.638, allocations: 2.969 kB / 0.7588 GB, free: 4.172 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)