Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.00103/0.00103, allocations: 175.2 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.327/1.327, 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.0008356/0.0008358, allocations: 81.84 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06731/0.06731, allocations: 12.2 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.2743/0.2743, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.459e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 69.23 MB / 0.5889 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.5389, allocations: 98.46 MB / 0.6851 GB, free: 1.836 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.5392, allocations: 79.77 kB / 0.6852 GB, free: 1.793 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05703/0.5963, allocations: 22.53 MB / 0.7072 GB, free: 14.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5963, allocations: 0 / 0.7072 GB, free: 14.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.775e-05/0.5963, allocations: 20 kB / 0.7072 GB, free: 14.77 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004039/0.6004, allocations: 1.598 MB / 0.7087 GB, free: 13.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6005, allocations: 11.98 kB / 0.7088 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.6006, allocations: 120.5 kB / 0.7089 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/0.6036, allocations: 0.5364 MB / 0.7094 GB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.6048, allocations: 0.6823 MB / 0.7101 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.6051, allocations: 259.5 kB / 0.7103 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.6052, allocations: 63.88 kB / 0.7104 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.6066, allocations: 0.7818 MB / 0.7111 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.6066, allocations: 0 / 0.7111 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.013e-05/0.6067, allocations: 26.06 kB / 0.7112 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.6067, allocations: 20 kB / 0.7112 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.608, allocations: 0.777 MB / 0.7119 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.6132, allocations: 3.237 MB / 0.7151 GB, free: 8.219 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.6146, allocations: 1.126 MB / 0.7162 GB, free: 7.254 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/0.6153, allocations: 0.5402 MB / 0.7167 GB, free: 6.969 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.6154, allocations: 16.33 kB / 0.7167 GB, free: 6.957 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.6154, allocations: 38.84 kB / 0.7168 GB, free: 6.914 MB / 458.7 MB Notification: Performance of pre-optimization done (n=82): time 2.975e-06/0.6154, allocations: 0 / 0.7168 GB, free: 6.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=82): time 0.01168/0.6271, allocations: 3.977 MB / 0.7207 GB, free: 3.457 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.6272, allocations: 60.19 kB / 0.7207 GB, free: 3.387 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.6283, allocations: 0.6658 MB / 0.7214 GB, free: 2.855 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.6285, allocations: 42.89 kB / 0.7214 GB, free: 2.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.6288, allocations: 437.3 kB / 0.7218 GB, free: 2.574 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/0.6291, allocations: 294.3 kB / 0.7221 GB, free: 2.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.6292, allocations: 16.94 kB / 0.7221 GB, free: 2.316 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.6293, allocations: 331.8 kB / 0.7224 GB, free: 1.996 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.6299, allocations: 414.1 kB / 0.7228 GB, free: 1.777 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.6306, allocations: 0.4969 MB / 0.7233 GB, free: 1.449 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.6314, allocations: 441.3 kB / 0.7237 GB, free: 1.207 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.6314, allocations: 0 / 0.7237 GB, free: 1.207 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0122/0.6436, allocations: 4.052 MB / 0.7277 GB, free: 13.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6436, allocations: 11.44 kB / 0.7277 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6437, allocations: 4 kB / 0.7277 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005588/0.6493, allocations: 1.737 MB / 0.7294 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.65, allocations: 119.8 kB / 0.7295 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.6649, allocations: 7.265 MB / 0.7366 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.6663, allocations: 177.8 kB / 0.7368 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.6664, allocations: 26.67 kB / 0.7368 GB, free: 6.867 MB / 474.7 MB 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.0002449/0.6667, allocations: 158.3 kB / 0.737 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.6668, allocations: 98.78 kB / 0.7371 GB, free: 6.633 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.679, allocations: 4.088 MB / 0.7411 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.679, allocations: 12 kB / 0.7411 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.679, allocations: 0 / 0.7411 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/0.6791, allocations: 7.938 kB / 0.7411 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.6929, allocations: 5.578 MB / 0.7465 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6929, allocations: 0 / 0.7465 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.6935, allocations: 95.89 kB / 0.7466 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005069/0.6986, allocations: 1.679 MB / 0.7483 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.6987, allocations: 16 kB / 0.7483 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.7114, allocations: 6.34 MB / 0.7545 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7115, allocations: 0 / 0.7545 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.7249, allocations: 4.772 MB / 0.7591 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.7254, allocations: 183.7 kB / 0.7593 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.7256, allocations: 16 kB / 0.7593 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.7265, allocations: 131.9 kB / 0.7594 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005951/0.7271, allocations: 200.5 kB / 0.7596 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.7272, allocations: 16 kB / 0.7596 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007013/0.7279, allocations: 0.5267 MB / 0.7602 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7279, allocations: 0 / 0.7602 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001068/0.729, allocations: 399.5 kB / 0.7605 GB, free: 14.45 MB / 0.4948 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.01317/0.7422, allocations: 5.371 MB / 0.7658 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004905/0.7471, allocations: 1.906 MB / 0.7676 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.7472, allocations: 0 / 0.7676 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/0.7511, allocations: 1.438 MB / 0.769 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.7518, allocations: 63.34 kB / 0.7691 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.7545, allocations: 1.41 MB / 0.7705 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.755, allocations: 1.052 MB / 0.7715 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.7553, allocations: 61.14 kB / 0.7716 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.7557, allocations: 359.3 kB / 0.7719 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.7557, allocations: 0 / 0.7719 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/0.804, allocations: 26.88 MB / 0.7982 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.8043, allocations: 184.2 kB / 0.7983 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.523, allocations: 0 / 0.7983 GB, free: 7.645 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)