Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.001429/0.001429, allocations: 173.2 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.335/1.335, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008809/0.0008809, allocations: 88.11 kB / 280.4 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4644/0.4644, allocations: 78.12 MB / 409.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.188e-05, allocations: 7.938 kB / 485.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1417, allocations: 69.35 MB / 0.5414 GB, free: 6.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5715, allocations: 96.59 MB / 0.6358 GB, free: 3.008 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5719, allocations: 80.7 kB / 0.6358 GB, free: 2.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06309/0.635, allocations: 23.1 MB / 0.6584 GB, free: 11.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.28e-06/0.635, allocations: 0 / 0.6584 GB, free: 11.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.058e-05/0.6351, allocations: 23.94 kB / 0.6584 GB, free: 11.84 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004584/0.6397, allocations: 1.601 MB / 0.66 GB, free: 10.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6398, allocations: 8.031 kB / 0.66 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.6433, allocations: 0.5371 MB / 0.6605 GB, free: 9.648 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.645, allocations: 0.6799 MB / 0.6612 GB, free: 8.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.6453, allocations: 239 kB / 0.6614 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.6455, allocations: 43.84 kB / 0.6614 GB, free: 8.617 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001461/0.647, allocations: 0.746 MB / 0.6622 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6483, allocations: 0.6946 MB / 0.6628 GB, free: 7.172 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.6483, allocations: 0 / 0.6628 GB, free: 7.172 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/0.6484, allocations: 4 kB / 0.6628 GB, free: 7.168 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.6484, allocations: 16 kB / 0.6629 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005846/0.6543, allocations: 3.101 MB / 0.6659 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6557, allocations: 1.121 MB / 0.667 GB, free: 2.668 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/0.6565, allocations: 0.5159 MB / 0.6675 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.6566, allocations: 12.77 kB / 0.6675 GB, free: 2.137 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.6566, allocations: 43.33 kB / 0.6675 GB, free: 2.086 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 2.996e-06/0.6566, allocations: 0 / 0.6675 GB, free: 2.086 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.01255/0.6692, allocations: 3.918 MB / 0.6714 GB, free: 14.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.6693, allocations: 60.19 kB / 0.6714 GB, free: 14.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.6703, allocations: 0.6104 MB / 0.672 GB, free: 13.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002101/0.6705, allocations: 25.7 kB / 0.672 GB, free: 13.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.6709, allocations: 440.9 kB / 0.6725 GB, free: 13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.6712, allocations: 279.8 kB / 0.6727 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.6713, allocations: 0 / 0.6727 GB, free: 12.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6715, allocations: 330 kB / 0.6731 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.6721, allocations: 401.5 kB / 0.6734 GB, free: 12.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/0.6729, allocations: 0.4884 MB / 0.6739 GB, free: 11.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007103/0.6736, allocations: 433.2 kB / 0.6743 GB, free: 11.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.6736, allocations: 0 / 0.6743 GB, free: 11.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01263/0.6863, allocations: 4.043 MB / 0.6783 GB, free: 7.008 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.6863, allocations: 8 kB / 0.6783 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6864, allocations: 0 / 0.6783 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/0.6922, allocations: 1.677 MB / 0.6799 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.693, allocations: 116.5 kB / 0.68 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.7084, allocations: 7.066 MB / 0.6869 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.7101, allocations: 163.3 kB / 0.6871 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.7103, allocations: 23.98 kB / 0.6871 GB, free: 13.82 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 (62): * Single equations (assignments): 61 * 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.0003144/0.7106, allocations: 119.3 kB / 0.6872 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01331/0.7239, allocations: 3.918 MB / 0.691 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/0.7245, allocations: 102.7 kB / 0.6911 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.7367, allocations: 4.001 MB / 0.6951 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.7368, allocations: 8 kB / 0.6951 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7368, allocations: 8 kB / 0.6951 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.7368, allocations: 3.984 kB / 0.6951 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.7512, allocations: 5.424 MB / 0.7004 GB, free: 92 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/0.7512, allocations: 0 / 0.7004 GB, free: 92 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/0.752, allocations: 99.88 kB / 0.7005 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005457/0.7575, allocations: 1.679 MB / 0.7021 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/0.7577, allocations: 0 / 0.7021 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.771, allocations: 6.183 MB / 0.7081 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.7711, allocations: 3.938 kB / 0.7081 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.7849, allocations: 4.694 MB / 0.7127 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.7853, allocations: 191.7 kB / 0.7129 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.7855, allocations: 0 / 0.7129 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.7866, allocations: 122 kB / 0.713 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006542/0.7872, allocations: 200.4 kB / 0.7132 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.461e-05/0.7873, allocations: 20 kB / 0.7132 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006434/0.788, allocations: 475.1 kB / 0.7137 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.788, allocations: 1.781 kB / 0.7137 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001218/0.7892, allocations: 359.5 kB / 0.714 GB, free: 1.93 MB / 0.5105 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 (50): * Single equations (assignments): 49 * 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.01353/0.8027, allocations: 5.294 MB / 0.7192 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004947/0.8077, allocations: 1.847 MB / 0.721 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8078, allocations: 0.5625 kB / 0.721 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004236/0.812, allocations: 1.407 MB / 0.7224 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.8128, allocations: 51.31 kB / 0.7224 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.8158, allocations: 1.407 MB / 0.7238 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.8165, allocations: 1.056 MB / 0.7248 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.8167, allocations: 57.16 kB / 0.7249 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.8172, allocations: 367.3 kB / 0.7252 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/0.8172, allocations: 0 / 0.7252 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0527/0.8699, allocations: 25.11 MB / 0.7498 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.8701, allocations: 140.1 kB / 0.7499 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.544, allocations: 0 / 0.7499 GB, free: 13.25 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)