Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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-master/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-master/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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008904/0.0008905, allocations: 171 kB / 7.646 MB, free: 1.402 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.33/1.33, 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.0008157/0.0008157, allocations: 81.83 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06999/0.06999, allocations: 12.59 MB / 322 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2991/0.2991, allocations: 78.06 MB / 450.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.541e-05, allocations: 4 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 69.33 MB / 0.5824 GB, free: 8.379 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4829/0.6064, allocations: 97.63 MB / 0.6777 GB, free: 9.684 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6067, allocations: 77.7 kB / 0.6778 GB, free: 9.672 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05216/0.6589, allocations: 21.92 MB / 0.6992 GB, free: 8.297 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.6589, allocations: 0 / 0.6992 GB, free: 8.297 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.825e-05/0.659, allocations: 16 kB / 0.6992 GB, free: 8.281 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004868/0.6639, allocations: 1.586 MB / 0.7008 GB, free: 6.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6639, allocations: 8.031 kB / 0.7008 GB, free: 6.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.6672, allocations: 0.5351 MB / 0.7013 GB, free: 6.262 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.6689, allocations: 0.6696 MB / 0.702 GB, free: 5.684 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.6692, allocations: 231.5 kB / 0.7022 GB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.6694, allocations: 40 kB / 0.7022 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001457/0.6709, allocations: 0.7433 MB / 0.703 GB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.6722, allocations: 0.677 MB / 0.7036 GB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6722, allocations: 0 / 0.7036 GB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.6723, allocations: 0 / 0.7036 GB, free: 4.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.6723, allocations: 16 kB / 0.7036 GB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/0.6781, allocations: 3.088 MB / 0.7066 GB, free: 2.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.6797, allocations: 1.113 MB / 0.7077 GB, free: 1.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.6805, allocations: 0.5163 MB / 0.7082 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.6807, allocations: 12.78 kB / 0.7083 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.6807, allocations: 50.64 kB / 0.7083 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of pre-optimization done (n=81): time 3.006e-06/0.6807, allocations: 0 / 0.7083 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.01177/0.6925, allocations: 3.911 MB / 0.7121 GB, free: 13.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.6925, allocations: 60.19 kB / 0.7122 GB, free: 13.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/0.6934, allocations: 0.5992 MB / 0.7128 GB, free: 12.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.6935, allocations: 25.7 kB / 0.7128 GB, free: 12.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.6938, allocations: 438.9 kB / 0.7132 GB, free: 12.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.6941, allocations: 274.2 kB / 0.7135 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.6942, allocations: 0 / 0.7135 GB, free: 12.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6943, allocations: 338.1 kB / 0.7138 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006122/0.6949, allocations: 385.9 kB / 0.7142 GB, free: 11.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.6956, allocations: 481.6 kB / 0.7146 GB, free: 11.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.6962, allocations: 424.7 kB / 0.715 GB, free: 11.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6963, allocations: 4 kB / 0.715 GB, free: 11.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01178/0.708, allocations: 3.99 MB / 0.7189 GB, free: 7.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.7081, allocations: 8 kB / 0.7189 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7081, allocations: 0 / 0.7189 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005248/0.7134, allocations: 1.687 MB / 0.7206 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.7139, allocations: 115.2 kB / 0.7207 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.7276, allocations: 6.889 MB / 0.7274 GB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.7289, allocations: 163.2 kB / 0.7276 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.729, allocations: 26.75 kB / 0.7276 GB, free: 1.285 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "Rotor angle" 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0003125/0.7294, allocations: 120.8 kB / 0.7277 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/0.7297, allocations: 102.7 kB / 0.7278 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.7418, allocations: 4.001 MB / 0.7317 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.7418, allocations: 8 kB / 0.7317 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7418, allocations: 3.984 kB / 0.7317 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.7419, allocations: 3.984 kB / 0.7317 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.7559, allocations: 5.414 MB / 0.737 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.756, allocations: 0 / 0.737 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.7565, allocations: 91.89 kB / 0.7371 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005098/0.7617, allocations: 1.66 MB / 0.7387 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.7618, allocations: 0 / 0.7387 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.7744, allocations: 6.211 MB / 0.7448 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.7744, allocations: 0 / 0.7448 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.7876, allocations: 4.69 MB / 0.7494 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.7881, allocations: 183.7 kB / 0.7495 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.7884, allocations: 4 kB / 0.7496 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.7895, allocations: 120 kB / 0.7497 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005858/0.7901, allocations: 196.4 kB / 0.7499 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.7902, allocations: 20 kB / 0.7499 GB, free: 10.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008571/0.791, allocations: 471.1 kB / 0.7503 GB, free: 10.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7911, allocations: 0 / 0.7503 GB, free: 10.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001437/0.7925, allocations: 359.5 kB / 0.7507 GB, free: 9.836 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.0003374/0.7929, allocations: 135.1 kB / 0.7508 GB, free: 9.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005034/0.7979, allocations: 1.846 MB / 0.7526 GB, free: 7.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.7979, allocations: 0 / 0.7526 GB, free: 7.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004109/0.802, allocations: 1.388 MB / 0.754 GB, free: 6.445 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.8027, allocations: 56.7 kB / 0.754 GB, free: 6.391 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.8052, allocations: 1.144 MB / 0.7551 GB, free: 5.219 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.8059, allocations: 1.04 MB / 0.7561 GB, free: 4.145 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.8062, allocations: 65.03 kB / 0.7562 GB, free: 4.082 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.8063, allocations: 47.44 kB / 0.7562 GB, free: 4.035 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.8063, allocations: 0 / 0.7562 GB, free: 4.035 MB / 490.7 MB Notification: Performance of Templates: time 0.02827/0.8346, allocations: 17.01 MB / 0.7729 GB, free: 3.023 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)