Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_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.01048/0.01048, allocations: 171.2 kB / 15.11 MB, free: 5.969 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.387/1.387, allocations: 223.2 MB / 239 MB, free: 92 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001022, allocations: 99.62 kB / 290.2 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5759/0.5759, allocations: 79.44 MB / 420.8 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 12 kB / 0.4891 GB, free: 6.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1572, allocations: 69.52 MB / 0.557 GB, free: 0.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.6241, allocations: 98.03 MB / 0.6527 GB, free: 3.219 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.6244, allocations: 80.98 kB / 0.6528 GB, free: 3.141 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06134/0.6857, allocations: 24.17 MB / 0.6764 GB, free: 11.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6857, allocations: 4 kB / 0.6764 GB, free: 11.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.662e-05/0.6858, allocations: 20 kB / 0.6764 GB, free: 11 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.005461/0.6913, allocations: 1.787 MB / 0.6782 GB, free: 9.164 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.6914, allocations: 12.03 kB / 0.6782 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004718/0.6918, allocations: 122.4 kB / 0.6783 GB, free: 9.023 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/0.6955, allocations: 0.541 MB / 0.6788 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.6977, allocations: 0.6757 MB / 0.6795 GB, free: 7.762 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/0.6981, allocations: 264.2 kB / 0.6798 GB, free: 7.469 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.6984, allocations: 69.03 kB / 0.6798 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.7008, allocations: 1.03 MB / 0.6808 GB, free: 6.363 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.7008, allocations: 3.984 kB / 0.6808 GB, free: 6.359 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.7009, allocations: 24 kB / 0.6809 GB, free: 6.336 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.7009, allocations: 16.94 kB / 0.6809 GB, free: 6.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.7033, allocations: 1.062 MB / 0.6819 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00686/0.7101, allocations: 3.26 MB / 0.6851 GB, free: 1.848 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.7122, allocations: 1.357 MB / 0.6864 GB, free: 376 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.7123, allocations: 16.98 kB / 0.6864 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.7124, allocations: 43.56 kB / 0.6865 GB, free: 308 kB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 4.108e-06/0.7124, allocations: 0 / 0.6865 GB, free: 308 kB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.02517/0.7376, allocations: 7.693 MB / 0.694 GB, free: 8.578 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.7377, allocations: 68.34 kB / 0.6941 GB, free: 8.496 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.7393, allocations: 0.6651 MB / 0.6947 GB, free: 7.824 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000222/0.7396, allocations: 39.86 kB / 0.6947 GB, free: 7.781 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.7401, allocations: 444.3 kB / 0.6952 GB, free: 7.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.7406, allocations: 291.7 kB / 0.6954 GB, free: 7.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.7407, allocations: 20 kB / 0.6955 GB, free: 7.031 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7409, allocations: 337.9 kB / 0.6958 GB, free: 6.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.7423, allocations: 0.6344 MB / 0.6964 GB, free: 6.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.7438, allocations: 0.7297 MB / 0.6971 GB, free: 5.305 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.7454, allocations: 0.6793 MB / 0.6978 GB, free: 4.625 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.7454, allocations: 4 kB / 0.6978 GB, free: 4.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01427/0.7597, allocations: 4.77 MB / 0.7024 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.7597, allocations: 4.938 kB / 0.7025 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.7598, allocations: 4 kB / 0.7025 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.7662, allocations: 2.099 MB / 0.7045 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.7668, allocations: 121.8 kB / 0.7046 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/0.7893, allocations: 9.971 MB / 0.7144 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.7909, allocations: 179.2 kB / 0.7145 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/0.7911, allocations: 27.98 kB / 0.7146 GB, free: 3.297 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.0007274/0.7919, allocations: 223.5 kB / 0.7148 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.7923, allocations: 106.8 kB / 0.7149 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.8058, allocations: 4.74 MB / 0.7195 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.8059, allocations: 8 kB / 0.7195 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.8059, allocations: 4 kB / 0.7195 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.8059, allocations: 7.984 kB / 0.7195 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.8221, allocations: 6.239 MB / 0.7256 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.8222, allocations: 3.125 kB / 0.7256 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.8228, allocations: 99.88 kB / 0.7257 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005931/0.8287, allocations: 2.064 MB / 0.7277 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.8289, allocations: 16 kB / 0.7277 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.8482, allocations: 8.627 MB / 0.7362 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8483, allocations: 4 kB / 0.7362 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/0.8639, allocations: 5.665 MB / 0.7417 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.8644, allocations: 191.7 kB / 0.7419 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.8648, allocations: 15.98 kB / 0.7419 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.8659, allocations: 124 kB / 0.742 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007296/0.8667, allocations: 212.5 kB / 0.7422 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.8668, allocations: 16 kB / 0.7422 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008203/0.8676, allocations: 0.5264 MB / 0.7427 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8677, allocations: 4 kB / 0.7428 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001559/0.8692, allocations: 399.5 kB / 0.7431 GB, free: 5.691 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 () * Number of clocked 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.01562/0.8848, allocations: 6.255 MB / 0.7492 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006423/0.8913, allocations: 2.404 MB / 0.7516 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.8914, allocations: 0 / 0.7516 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004731/0.8961, allocations: 1.699 MB / 0.7532 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.897, allocations: 73.48 kB / 0.7533 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/0.9205, allocations: 11.63 MB / 0.7647 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.9212, allocations: 1.052 MB / 0.7657 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.9215, allocations: 66.8 kB / 0.7658 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.922, allocations: 363.3 kB / 0.7661 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/0.922, allocations: 0 / 0.7661 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0541/0.9761, allocations: 26.94 MB / 0.7924 GB, free: 3.117 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.9764, allocations: 195.3 kB / 0.7926 GB, free: 2.875 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.81, allocations: 0 / 0.7926 GB, free: 2.875 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)