Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001109/0.001109, 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 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000954/0.0009539, allocations: 88.53 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08047/0.08047, allocations: 12.21 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2862/0.2862, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.582e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 69.24 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.5849, allocations: 100.3 MB / 0.6868 GB, free: 52 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.5852, allocations: 82.88 kB / 0.6869 GB, free: 8 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06497/0.6502, allocations: 25.11 MB / 0.7114 GB, free: 10.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6502, allocations: 0 / 0.7114 GB, free: 10.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.677e-05/0.6503, allocations: 20 kB / 0.7115 GB, free: 10.74 MB / 458.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.005089/0.6554, allocations: 1.779 MB / 0.7132 GB, free: 9.031 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6555, allocations: 15.98 kB / 0.7132 GB, free: 9.016 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003306/0.6558, allocations: 137.7 kB / 0.7133 GB, free: 8.926 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.6591, allocations: 0.5677 MB / 0.7139 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.6609, allocations: 0.7262 MB / 0.7146 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.6612, allocations: 266.7 kB / 0.7149 GB, free: 7.488 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.6615, allocations: 81.31 kB / 0.7149 GB, free: 7.434 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.6633, allocations: 0.8742 MB / 0.7158 GB, free: 6.871 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.6633, allocations: 0 / 0.7158 GB, free: 6.871 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.6634, allocations: 30.06 kB / 0.7158 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.6634, allocations: 20 kB / 0.7158 GB, free: 6.848 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.665, allocations: 0.8589 MB / 0.7167 GB, free: 6.316 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/0.671, allocations: 3.558 MB / 0.7201 GB, free: 3.555 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.6723, allocations: 1.231 MB / 0.7213 GB, free: 2.535 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007961/0.6731, allocations: 0.5939 MB / 0.7219 GB, free: 2.215 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.6733, allocations: 12.78 kB / 0.7219 GB, free: 2.203 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6733, allocations: 42.22 kB / 0.722 GB, free: 2.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 3.586e-06/0.6733, allocations: 0 / 0.722 GB, free: 2.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.01189/0.6852, allocations: 4.099 MB / 0.726 GB, free: 14.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.6853, allocations: 64.12 kB / 0.726 GB, free: 14.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.6865, allocations: 0.7425 MB / 0.7268 GB, free: 13.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.6867, allocations: 42.08 kB / 0.7268 GB, free: 13.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.687, allocations: 0.4944 MB / 0.7273 GB, free: 13.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004218/0.6875, allocations: 341.8 kB / 0.7276 GB, free: 13.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.6876, allocations: 17.94 kB / 0.7276 GB, free: 13.35 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6877, allocations: 339.9 kB / 0.728 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007906/0.6885, allocations: 447.4 kB / 0.7284 GB, free: 12.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.6893, allocations: 0.5457 MB / 0.7289 GB, free: 12.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.6902, allocations: 491.4 kB / 0.7294 GB, free: 12.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6902, allocations: 0 / 0.7294 GB, free: 12.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01209/0.7023, allocations: 4.208 MB / 0.7335 GB, free: 8.527 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.7024, allocations: 8 kB / 0.7335 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7024, allocations: 3.938 kB / 0.7335 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005687/0.7081, allocations: 1.721 MB / 0.7352 GB, free: 7.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.709, allocations: 171.7 kB / 0.7354 GB, free: 6.859 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.7242, allocations: 7.271 MB / 0.7425 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.7258, allocations: 211.1 kB / 0.7427 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.726, allocations: 31.98 kB / 0.7427 GB, free: 1.086 MB / 474.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 (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.0003418/0.7264, allocations: 140.9 kB / 0.7428 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.7267, allocations: 122.5 kB / 0.7429 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.739, allocations: 4.226 MB / 0.7471 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.739, allocations: 11.94 kB / 0.7471 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7391, allocations: 0 / 0.7471 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-05/0.7391, allocations: 3.984 kB / 0.7471 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.7544, allocations: 5.816 MB / 0.7528 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.7545, allocations: 0 / 0.7528 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009697/0.7554, allocations: 147.8 kB / 0.7529 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005597/0.7611, allocations: 1.69 MB / 0.7546 GB, free: 4.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/0.7614, allocations: 19.94 kB / 0.7546 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.7744, allocations: 6.309 MB / 0.7607 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7745, allocations: 3.953 kB / 0.7607 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/0.7884, allocations: 4.963 MB / 0.7656 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.789, allocations: 203.4 kB / 0.7658 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/0.7894, allocations: 20 kB / 0.7658 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.7908, allocations: 159.9 kB / 0.7659 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000828/0.7916, allocations: 216.6 kB / 0.7662 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.7918, allocations: 20 kB / 0.7662 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009731/0.7927, allocations: 0.5783 MB / 0.7667 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7928, allocations: 0 / 0.7667 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001585/0.7943, allocations: 431.4 kB / 0.7671 GB, free: 7.672 MB / 0.4948 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.01431/0.8087, allocations: 5.574 MB / 0.7726 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005824/0.8146, allocations: 2.012 MB / 0.7746 GB, free: 32 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.8146, allocations: 0.5625 kB / 0.7746 GB, free: 32 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004405/0.819, allocations: 1.517 MB / 0.776 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.82, allocations: 75.8 kB / 0.7761 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.8241, allocations: 1.694 MB / 0.7778 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.8248, allocations: 1.122 MB / 0.7789 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003771/0.8252, allocations: 73.56 kB / 0.7789 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.8258, allocations: 423.3 kB / 0.7793 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of SimCode: time 7.42e-07/0.8258, allocations: 0 / 0.7793 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0584/0.8842, allocations: 29.09 MB / 0.8077 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.8844, allocations: 193.3 kB / 0.8079 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.624, allocations: 0 / 0.8079 GB, free: 13.86 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)