Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.0009942/0.0009941, 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 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009756/0.0009754, allocations: 99.58 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.487/0.487, allocations: 78.07 MB / 409.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.605e-05, allocations: 7.938 kB / 485 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1663, allocations: 69.36 MB / 0.5414 GB, free: 6.723 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.6406, allocations: 96.31 MB / 0.6354 GB, free: 3.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.6408, allocations: 77.45 kB / 0.6355 GB, free: 3.016 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05759/0.6984, allocations: 22.96 MB / 0.6579 GB, free: 12.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6985, allocations: 0 / 0.6579 GB, free: 12.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.568e-05/0.6985, allocations: 16 kB / 0.6579 GB, free: 12.1 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004134/0.7027, allocations: 1.601 MB / 0.6595 GB, free: 10.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7027, allocations: 12.03 kB / 0.6595 GB, free: 10.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.7058, allocations: 0.5332 MB / 0.66 GB, free: 9.906 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.7071, allocations: 0.6719 MB / 0.6607 GB, free: 9.191 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.7074, allocations: 232.2 kB / 0.6609 GB, free: 8.926 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.7075, allocations: 43.98 kB / 0.661 GB, free: 8.883 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/0.7087, allocations: 0.7459 MB / 0.6617 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.7099, allocations: 0.6868 MB / 0.6624 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.71, allocations: 0 / 0.6624 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/0.71, allocations: 7.938 kB / 0.6624 GB, free: 7.438 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.7101, allocations: 17.31 kB / 0.6624 GB, free: 7.422 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.7152, allocations: 3.105 MB / 0.6654 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.7164, allocations: 1.107 MB / 0.6665 GB, free: 2.949 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/0.7171, allocations: 0.5081 MB / 0.667 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.7172, allocations: 16.78 kB / 0.667 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.7173, allocations: 47.27 kB / 0.6671 GB, free: 2.367 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 2.375e-06/0.7173, allocations: 4 kB / 0.6671 GB, free: 2.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.01192/0.7292, allocations: 3.91 MB / 0.6709 GB, free: 14.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.7293, allocations: 60.19 kB / 0.6709 GB, free: 14.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009445/0.7302, allocations: 0.6105 MB / 0.6715 GB, free: 13.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.7304, allocations: 25.7 kB / 0.6716 GB, free: 13.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.7307, allocations: 452.2 kB / 0.672 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.731, allocations: 275.8 kB / 0.6722 GB, free: 13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.7311, allocations: 0 / 0.6722 GB, free: 13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7312, allocations: 342.8 kB / 0.6726 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.7318, allocations: 389.6 kB / 0.6729 GB, free: 12.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.7324, allocations: 487.6 kB / 0.6734 GB, free: 11.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.7331, allocations: 429.2 kB / 0.6738 GB, free: 11.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7331, allocations: 0 / 0.6738 GB, free: 11.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01182/0.7449, allocations: 3.98 MB / 0.6777 GB, free: 7.363 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.745, allocations: 8 kB / 0.6777 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.745, allocations: 4 kB / 0.6777 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/0.7505, allocations: 1.681 MB / 0.6794 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.7512, allocations: 132.4 kB / 0.6795 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.765, allocations: 7.06 MB / 0.6864 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.7663, allocations: 163.2 kB / 0.6865 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.7665, allocations: 24 kB / 0.6866 GB, free: 14.17 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "q-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 (61): * Single equations (assignments): 60 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003519/0.7669, allocations: 115.6 kB / 0.6867 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0118/0.7787, allocations: 3.915 MB / 0.6905 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.7791, allocations: 106.7 kB / 0.6906 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.7912, allocations: 4.004 MB / 0.6945 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.7913, allocations: 12 kB / 0.6945 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7913, allocations: 0 / 0.6945 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.7913, allocations: 3.984 kB / 0.6945 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.8056, allocations: 5.414 MB / 0.6998 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.8056, allocations: 7.984 kB / 0.6998 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.8062, allocations: 99.39 kB / 0.6999 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005234/0.8115, allocations: 1.675 MB / 0.7015 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.8116, allocations: 3.938 kB / 0.7015 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.8244, allocations: 6.187 MB / 0.7076 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.8244, allocations: 3.984 kB / 0.7076 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.8377, allocations: 4.709 MB / 0.7122 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/0.8382, allocations: 183.7 kB / 0.7124 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003504/0.8385, allocations: 0 / 0.7124 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.8398, allocations: 122.9 kB / 0.7125 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000704/0.8405, allocations: 196.4 kB / 0.7127 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.8407, allocations: 24 kB / 0.7127 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008688/0.8415, allocations: 483.1 kB / 0.7132 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8416, allocations: 3.938 kB / 0.7132 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001861/0.8434, allocations: 359.5 kB / 0.7135 GB, free: 2.258 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.01386/0.8573, allocations: 5.273 MB / 0.7187 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005254/0.8626, allocations: 1.845 MB / 0.7205 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8626, allocations: 0 / 0.7205 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004227/0.8669, allocations: 1.401 MB / 0.7218 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.8677, allocations: 55.25 kB / 0.7219 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.8714, allocations: 1.345 MB / 0.7232 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/0.8722, allocations: 1.048 MB / 0.7242 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.8725, allocations: 61.14 kB / 0.7243 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.8731, allocations: 355.3 kB / 0.7246 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/0.8731, allocations: 3.938 kB / 0.7246 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0556/0.9287, allocations: 25.11 MB / 0.7491 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.9289, allocations: 118.8 kB / 0.7493 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/3.636, allocations: 0 / 0.7493 GB, free: 13.68 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)