Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.0009168/0.0009169, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0009303/0.0009302, allocations: 92.98 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05893/0.05893, allocations: 12.2 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2704/0.2704, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.344e-05/1.339e-05, allocations: 0 / 0.5142 GB, free: 29.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 69.24 MB / 0.5819 GB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3386/0.443, allocations: 98.09 MB / 0.6776 GB, free: 9.113 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.4432, allocations: 71.89 kB / 0.6777 GB, free: 9.102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05067/0.4939, allocations: 22.37 MB / 0.6996 GB, free: 7.781 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.4939, allocations: 4 kB / 0.6996 GB, free: 7.777 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.053e-05/0.494, allocations: 16 kB / 0.6996 GB, free: 7.762 MB / 442.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.00396/0.4979, allocations: 1.595 MB / 0.7011 GB, free: 6.234 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.498, allocations: 12.03 kB / 0.7012 GB, free: 6.223 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.501, allocations: 0.5351 MB / 0.7017 GB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.5022, allocations: 0.6902 MB / 0.7023 GB, free: 5.133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.5025, allocations: 236 kB / 0.7026 GB, free: 4.867 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.5026, allocations: 40 kB / 0.7026 GB, free: 4.828 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/0.5037, allocations: 0.7468 MB / 0.7033 GB, free: 4.379 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5048, allocations: 0.6922 MB / 0.704 GB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5048, allocations: 3.984 kB / 0.704 GB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.5049, allocations: 0 / 0.704 GB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.5049, allocations: 16 kB / 0.704 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.5098, allocations: 3.105 MB / 0.7071 GB, free: 1.465 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.511, allocations: 1.113 MB / 0.7082 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.5116, allocations: 0.514 MB / 0.7087 GB, free: 256 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.5117, allocations: 20.75 kB / 0.7087 GB, free: 236 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.5118, allocations: 46.23 kB / 0.7087 GB, free: 184 kB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/0.5118, allocations: 0 / 0.7087 GB, free: 184 kB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.01142/0.5232, allocations: 3.917 MB / 0.7125 GB, free: 12.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.5233, allocations: 63.69 kB / 0.7126 GB, free: 12.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.5241, allocations: 0.6023 MB / 0.7132 GB, free: 12.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.5242, allocations: 25.7 kB / 0.7132 GB, free: 12.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.5245, allocations: 441.3 kB / 0.7136 GB, free: 11.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.5248, allocations: 284.6 kB / 0.7139 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.5249, allocations: 0 / 0.7139 GB, free: 11.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.525, allocations: 343.7 kB / 0.7142 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.5256, allocations: 393.8 kB / 0.7146 GB, free: 11.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.5262, allocations: 493.9 kB / 0.7151 GB, free: 10.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.5268, allocations: 431 kB / 0.7155 GB, free: 10.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5268, allocations: 3.938 kB / 0.7155 GB, free: 10.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01144/0.5382, allocations: 4.049 MB / 0.7195 GB, free: 7.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5383, allocations: 8 kB / 0.7195 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5383, allocations: 4 kB / 0.7195 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005237/0.5435, allocations: 1.666 MB / 0.7211 GB, free: 5.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.5442, allocations: 126.1 kB / 0.7212 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/0.557, allocations: 7.066 MB / 0.7281 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.5583, allocations: 167.2 kB / 0.7283 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.5584, allocations: 27.7 kB / 0.7283 GB, free: 0.543 MB / 458.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.0002852/0.5586, allocations: 119.9 kB / 0.7284 GB, free: 432 kB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01127/0.5699, allocations: 3.906 MB / 0.7322 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.5703, allocations: 102.8 kB / 0.7323 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.5819, allocations: 4.009 MB / 0.7362 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.582, allocations: 8 kB / 0.7362 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.582, allocations: 0 / 0.7362 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/0.582, allocations: 3.984 kB / 0.7363 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.5952, allocations: 5.43 MB / 0.7416 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5953, allocations: 0 / 0.7416 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.5958, allocations: 99.89 kB / 0.7416 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004966/0.6008, allocations: 1.659 MB / 0.7433 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.601, allocations: 0 / 0.7433 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/0.6126, allocations: 6.195 MB / 0.7493 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.6126, allocations: 0 / 0.7493 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.6251, allocations: 4.705 MB / 0.7539 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.6255, allocations: 187.7 kB / 0.7541 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.6256, allocations: 8 kB / 0.7541 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009213/0.6266, allocations: 111.9 kB / 0.7542 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005393/0.6271, allocations: 200.4 kB / 0.7544 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.6272, allocations: 24 kB / 0.7544 GB, free: 6.098 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005775/0.6278, allocations: 475.1 kB / 0.7549 GB, free: 5.641 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6278, allocations: 0 / 0.7549 GB, free: 5.641 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001103/0.6289, allocations: 363.5 kB / 0.7552 GB, free: 5.285 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.01273/0.6416, allocations: 5.279 MB / 0.7604 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004707/0.6464, allocations: 1.858 MB / 0.7622 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6464, allocations: 0 / 0.7622 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003903/0.6503, allocations: 1.4 MB / 0.7636 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.651, allocations: 59.25 kB / 0.7636 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.6537, allocations: 1.404 MB / 0.765 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.6543, allocations: 1.052 MB / 0.766 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000256/0.6546, allocations: 61.14 kB / 0.7661 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/0.655, allocations: 367.3 kB / 0.7664 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.655, allocations: 0 / 0.7664 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0486/0.7036, allocations: 25.12 MB / 0.791 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.7039, allocations: 133.2 kB / 0.7911 GB, free: 404 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.223, allocations: 0 / 0.7911 GB, free: 404 kB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)