Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_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.0009605/0.0009606, 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.287/1.287, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009113/0.0009113, allocations: 88.58 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.477/0.477, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.275e-05/4.278e-05, allocations: 7.984 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3501, allocations: 69.34 MB / 0.5481 GB, free: 20.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.47, allocations: 97.27 MB / 0.643 GB, free: 3.137 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4703, allocations: 79.95 kB / 0.6431 GB, free: 3.059 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0605/0.5308, allocations: 23.41 MB / 0.666 GB, free: 11.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5308, allocations: 0 / 0.666 GB, free: 11.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.312e-05/0.5309, allocations: 16 kB / 0.666 GB, free: 11.46 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004397/0.5353, allocations: 1.597 MB / 0.6676 GB, free: 9.816 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5353, allocations: 15.97 kB / 0.6676 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.5355, allocations: 118.5 kB / 0.6677 GB, free: 9.676 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.5386, allocations: 0.5371 MB / 0.6682 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.54, allocations: 0.6758 MB / 0.6689 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.5403, allocations: 268.1 kB / 0.6691 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.5405, allocations: 67.91 kB / 0.6692 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.5419, allocations: 0.7884 MB / 0.67 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5419, allocations: 0 / 0.67 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.542, allocations: 27.94 kB / 0.67 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.542, allocations: 19.94 kB / 0.67 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.5434, allocations: 0.7811 MB / 0.6708 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.549, allocations: 3.225 MB / 0.6739 GB, free: 3.051 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.5504, allocations: 1.141 MB / 0.675 GB, free: 1.785 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.5513, allocations: 0.5388 MB / 0.6756 GB, free: 1.242 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.5514, allocations: 16.75 kB / 0.6756 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.5514, allocations: 47.34 kB / 0.6756 GB, free: 1.172 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.776e-06/0.5514, allocations: 0 / 0.6756 GB, free: 1.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.3147/0.8661, allocations: 3.967 MB / 0.6795 GB, free: 106.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8662, allocations: 65.3 kB / 0.6796 GB, free: 106.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.8675, allocations: 0.6557 MB / 0.6802 GB, free: 106.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.8677, allocations: 42.8 kB / 0.6802 GB, free: 106.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.868, allocations: 438.4 kB / 0.6807 GB, free: 106.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.8684, allocations: 294.7 kB / 0.6809 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.8684, allocations: 17.06 kB / 0.681 GB, free: 106.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.8685, allocations: 335.2 kB / 0.6813 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008444/0.8694, allocations: 409.6 kB / 0.6817 GB, free: 105.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/0.8702, allocations: 0.5067 MB / 0.6822 GB, free: 105.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/0.8711, allocations: 447.5 kB / 0.6826 GB, free: 105.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.8711, allocations: 0 / 0.6826 GB, free: 105.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0124/0.8835, allocations: 4.133 MB / 0.6866 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.8836, allocations: 3.156 kB / 0.6866 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.8836, allocations: 3.812 kB / 0.6866 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005237/0.8888, allocations: 1.714 MB / 0.6883 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.8894, allocations: 121.8 kB / 0.6884 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.9023, allocations: 7.26 MB / 0.6955 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.9036, allocations: 179.2 kB / 0.6957 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.9037, allocations: 23.03 kB / 0.6957 GB, free: 102.6 MB / 490.7 MB 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.0002085/0.9039, allocations: 152.8 kB / 0.6958 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.904, allocations: 100.6 kB / 0.6959 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.9151, allocations: 4.092 MB / 0.6999 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.9151, allocations: 11.69 kB / 0.6999 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.9151, allocations: 0 / 0.6999 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.9152, allocations: 3.75 kB / 0.7 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.9279, allocations: 5.589 MB / 0.7054 GB, free: 98.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.928, allocations: 0 / 0.7054 GB, free: 98.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.9285, allocations: 94.84 kB / 0.7055 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004865/0.9334, allocations: 1.679 MB / 0.7071 GB, free: 97.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.9336, allocations: 20 kB / 0.7072 GB, free: 97.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.945, allocations: 6.314 MB / 0.7133 GB, free: 91.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.945, allocations: 3.938 kB / 0.7133 GB, free: 91.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.957, allocations: 4.782 MB / 0.718 GB, free: 87.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.9574, allocations: 193 kB / 0.7182 GB, free: 87.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.9575, allocations: 16 kB / 0.7182 GB, free: 87.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009362/0.9585, allocations: 130.4 kB / 0.7183 GB, free: 87.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/0.9591, allocations: 197.6 kB / 0.7185 GB, free: 87.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.9591, allocations: 20 kB / 0.7185 GB, free: 87.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005744/0.9597, allocations: 0.5118 MB / 0.719 GB, free: 86.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9597, allocations: 0 / 0.719 GB, free: 86.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00112/0.9609, allocations: 400.7 kB / 0.7194 GB, free: 86.28 MB / 490.7 MB 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.01227/0.9731, allocations: 5.374 MB / 0.7247 GB, free: 81.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004748/0.9779, allocations: 1.918 MB / 0.7265 GB, free: 79.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.978, allocations: 0 / 0.7265 GB, free: 79.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003735/0.9817, allocations: 1.441 MB / 0.7279 GB, free: 77.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.9824, allocations: 63.34 kB / 0.728 GB, free: 77.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.9848, allocations: 1.473 MB / 0.7294 GB, free: 76.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.9852, allocations: 1.052 MB / 0.7305 GB, free: 75.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.9854, allocations: 61.12 kB / 0.7305 GB, free: 75.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.9858, allocations: 367.2 kB / 0.7309 GB, free: 74.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.021e-06/0.9858, allocations: 0 / 0.7309 GB, free: 74.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/1.027, allocations: 26.89 MB / 0.7571 GB, free: 48.33 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.027, allocations: 167.4 kB / 0.7573 GB, free: 48.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.676, allocations: 3.719 kB / 0.7573 GB, free: 48.11 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)