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.0009593/0.0009593, allocations: 174.5 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.221/1.221, 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.0008607/0.0008607, allocations: 95.86 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4369/0.4369, allocations: 78.92 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.683e-05, allocations: 4 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 69.51 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3977, allocations: 97.96 MB / 0.6449 GB, free: 1.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.398, allocations: 79.95 kB / 0.6449 GB, free: 1.566 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06177/0.4598, allocations: 24.1 MB / 0.6685 GB, free: 9.289 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.037e-06/0.4598, allocations: 7.938 kB / 0.6685 GB, free: 9.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.538e-05/0.4599, allocations: 20 kB / 0.6685 GB, free: 9.262 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.004816/0.4647, allocations: 1.597 MB / 0.6701 GB, free: 7.617 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4648, allocations: 11.97 kB / 0.6701 GB, free: 7.605 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003353/0.4651, allocations: 118.5 kB / 0.6702 GB, free: 7.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/0.4684, allocations: 0.5371 MB / 0.6707 GB, free: 6.941 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.4699, allocations: 0.6835 MB / 0.6714 GB, free: 6.211 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.4702, allocations: 256.2 kB / 0.6716 GB, free: 5.926 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.4704, allocations: 67.91 kB / 0.6717 GB, free: 5.859 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.4719, allocations: 0.7923 MB / 0.6725 GB, free: 5.059 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4719, allocations: 0 / 0.6725 GB, free: 5.059 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.472, allocations: 32 kB / 0.6725 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.472, allocations: 16 kB / 0.6725 GB, free: 5.012 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.4734, allocations: 0.7811 MB / 0.6733 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005523/0.4789, allocations: 3.264 MB / 0.6765 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2582/0.7372, allocations: 1.126 MB / 0.6776 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.7385, allocations: 0.5419 MB / 0.6781 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.7386, allocations: 11.08 kB / 0.6781 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.7386, allocations: 46.16 kB / 0.6781 GB, free: 105.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.946e-06/0.7386, allocations: 0 / 0.6781 GB, free: 105.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01299/0.7516, allocations: 3.969 MB / 0.682 GB, free: 105.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.7517, allocations: 64.5 kB / 0.6821 GB, free: 105.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.7527, allocations: 0.6532 MB / 0.6827 GB, free: 105.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.7528, allocations: 38.61 kB / 0.6828 GB, free: 105.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.7531, allocations: 450.9 kB / 0.6832 GB, free: 105.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.7534, allocations: 290.1 kB / 0.6835 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.7534, allocations: 14.88 kB / 0.6835 GB, free: 105.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.7535, allocations: 338.1 kB / 0.6838 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.7542, allocations: 409.3 kB / 0.6842 GB, free: 104.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008653/0.7551, allocations: 0.5057 MB / 0.6847 GB, free: 104.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.7558, allocations: 442.9 kB / 0.6851 GB, free: 104.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.7558, allocations: 2.891 kB / 0.6851 GB, free: 104.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01072/0.7666, allocations: 4.126 MB / 0.6891 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7666, allocations: 7.594 kB / 0.6891 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.7666, allocations: 7.75 kB / 0.6892 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004909/0.7715, allocations: 1.714 MB / 0.6908 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.7721, allocations: 126.1 kB / 0.6909 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.7847, allocations: 7.253 MB / 0.698 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.7859, allocations: 174.6 kB / 0.6982 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.786, allocations: 24 kB / 0.6982 GB, free: 100.9 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.0001868/0.7862, allocations: 145.4 kB / 0.6984 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.7864, allocations: 103.7 kB / 0.6985 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.7972, allocations: 4.087 MB / 0.7024 GB, free: 99.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.7972, allocations: 10.75 kB / 0.7025 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.7972, allocations: 0 / 0.7025 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.7973, allocations: 14.59 kB / 0.7025 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.8093, allocations: 5.586 MB / 0.7079 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.8093, allocations: 3.141 kB / 0.7079 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.8098, allocations: 98.16 kB / 0.708 GB, free: 95.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004685/0.8145, allocations: 1.685 MB / 0.7097 GB, free: 94.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/0.8146, allocations: 16 kB / 0.7097 GB, free: 94.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.8254, allocations: 6.325 MB / 0.7159 GB, free: 88.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8254, allocations: 0 / 0.7159 GB, free: 88.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.837, allocations: 4.774 MB / 0.7205 GB, free: 84.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.8374, allocations: 190.6 kB / 0.7207 GB, free: 84.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.8375, allocations: 16 kB / 0.7207 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009129/0.8385, allocations: 126.5 kB / 0.7208 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/0.839, allocations: 204.6 kB / 0.721 GB, free: 84.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.8391, allocations: 25.38 kB / 0.7211 GB, free: 84.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005103/0.8396, allocations: 0.5093 MB / 0.7216 GB, free: 83.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8396, allocations: 4 kB / 0.7216 GB, free: 83.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009505/0.8406, allocations: 406.5 kB / 0.7219 GB, free: 83.36 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.01167/0.8522, allocations: 5.358 MB / 0.7272 GB, free: 78.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004364/0.8566, allocations: 1.92 MB / 0.7291 GB, free: 76.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8566, allocations: 4.188 kB / 0.7291 GB, free: 76.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.8603, allocations: 1.437 MB / 0.7305 GB, free: 74.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.8608, allocations: 70.08 kB / 0.7305 GB, free: 74.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.8631, allocations: 1.468 MB / 0.732 GB, free: 73.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.8634, allocations: 1.052 MB / 0.733 GB, free: 72.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000225/0.8637, allocations: 65.17 kB / 0.7331 GB, free: 72.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.864, allocations: 367.3 kB / 0.7334 GB, free: 71.86 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.864, allocations: 3.391 kB / 0.7334 GB, free: 71.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03914/0.9032, allocations: 26.87 MB / 0.7596 GB, free: 45.44 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001293/0.9034, allocations: 175.8 kB / 0.7598 GB, free: 45.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.441, allocations: 0 / 0.7598 GB, free: 45.21 MB / 490.7 MB (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)