Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 174.7 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.236/1.236, 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.0007627/0.0007627, allocations: 84.94 kB / 266.6 MB, free: 9.27 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.06579/0.06579, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2831/0.2831, allocations: 78.02 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.197e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 69.33 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4966, allocations: 100.5 MB / 0.6876 GB, free: 14.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.4968, allocations: 77.03 kB / 0.6877 GB, free: 14.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05877/0.5556, allocations: 21.55 MB / 0.7087 GB, free: 12.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5557, allocations: 0 / 0.7087 GB, free: 12.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.959e-05/0.5557, allocations: 16 kB / 0.7087 GB, free: 12.64 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002844/0.5586, allocations: 1.269 MB / 0.71 GB, free: 11.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5586, allocations: 11.98 kB / 0.71 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.5608, allocations: 381.1 kB / 0.7104 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.5617, allocations: 0.6169 MB / 0.711 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.5619, allocations: 156.9 kB / 0.7111 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.562, allocations: 55.31 kB / 0.7112 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.5631, allocations: 0.6901 MB / 0.7118 GB, free: 9.891 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5631, allocations: 3.938 kB / 0.7118 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.5632, allocations: 18.69 kB / 0.7119 GB, free: 9.883 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.5632, allocations: 16 kB / 0.7119 GB, free: 9.867 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/0.5642, allocations: 0.5752 MB / 0.7124 GB, free: 9.52 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004607/0.5688, allocations: 2.874 MB / 0.7152 GB, free: 7.355 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01353/0.5823, allocations: 3.69 MB / 0.7188 GB, free: 3.879 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.5831, allocations: 392.5 kB / 0.7192 GB, free: 3.676 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.603e-05/0.5832, allocations: 12.55 kB / 0.7192 GB, free: 3.664 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.5832, allocations: 42.19 kB / 0.7193 GB, free: 3.621 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 2.705e-06/0.5832, allocations: 3.938 kB / 0.7193 GB, free: 3.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.00559/0.5888, allocations: 1.938 MB / 0.7212 GB, free: 2.027 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.5889, allocations: 85.67 kB / 0.7212 GB, free: 1.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.59, allocations: 0.6772 MB / 0.7219 GB, free: 1.418 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.875e-05/0.5901, allocations: 43.64 kB / 0.722 GB, free: 1.379 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.5904, allocations: 378.6 kB / 0.7223 GB, free: 1.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.5906, allocations: 232.5 kB / 0.7225 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.5907, allocations: 11.62 kB / 0.7225 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5908, allocations: 333.1 kB / 0.7229 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.5914, allocations: 338.4 kB / 0.7232 GB, free: 476 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.5921, allocations: 437 kB / 0.7236 GB, free: 184 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/0.5929, allocations: 372.5 kB / 0.724 GB, free: 15.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5929, allocations: 4.031 kB / 0.724 GB, free: 15.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006964/0.5998, allocations: 2.175 MB / 0.7261 GB, free: 14.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.6001, allocations: 0.7084 MB / 0.7268 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6001, allocations: 4 kB / 0.7268 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/0.6041, allocations: 1.022 MB / 0.7278 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.6046, allocations: 107.7 kB / 0.7279 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008029/0.6127, allocations: 4.462 MB / 0.7322 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.6137, allocations: 124.8 kB / 0.7324 GB, free: 9.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.6138, allocations: 26.42 kB / 0.7324 GB, free: 8.992 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.6138, allocations: 4 kB / 0.7324 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00711/0.6209, allocations: 2.064 MB / 0.7344 GB, free: 7.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.621, allocations: 4 kB / 0.7344 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004732/0.6257, allocations: 1.014 MB / 0.7354 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/0.6263, allocations: 103.1 kB / 0.7355 GB, free: 6.355 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/0.6348, allocations: 4.441 MB / 0.7398 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/0.6357, allocations: 114.4 kB / 0.7399 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.6358, allocations: 22.94 kB / 0.74 GB, free: 2.926 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * 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): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002243/0.636, allocations: 142.5 kB / 0.7401 GB, free: 2.797 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.6362, allocations: 86.97 kB / 0.7402 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006797/0.643, allocations: 2.024 MB / 0.7422 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.6431, allocations: 8 kB / 0.7422 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/0.6431, allocations: 4 kB / 0.7422 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.6431, allocations: 7.984 kB / 0.7422 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007853/0.651, allocations: 3.301 MB / 0.7454 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.651, allocations: 7.938 kB / 0.7454 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005665/0.6516, allocations: 79.89 kB / 0.7455 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/0.6545, allocations: 0.8567 MB / 0.7463 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-05/0.6546, allocations: 12 kB / 0.7463 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005737/0.6603, allocations: 3.354 MB / 0.7496 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6604, allocations: 8.031 kB / 0.7496 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006224/0.6666, allocations: 2.592 MB / 0.7521 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.6669, allocations: 179.9 kB / 0.7523 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.667, allocations: 15.95 kB / 0.7523 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/0.6679, allocations: 87.92 kB / 0.7524 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/0.6682, allocations: 116.3 kB / 0.7525 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.6682, allocations: 20 kB / 0.7525 GB, free: 6.262 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006648/0.6689, allocations: 0.5226 MB / 0.7531 GB, free: 5.746 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6689, allocations: 0 / 0.7531 GB, free: 5.746 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001265/0.6702, allocations: 487.2 kB / 0.7535 GB, free: 5.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002473/0.6704, allocations: 147.9 kB / 0.7537 GB, free: 5.117 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006344/0.6768, allocations: 2.795 MB / 0.7564 GB, free: 2.207 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6768, allocations: 4 kB / 0.7564 GB, free: 2.203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.6794, allocations: 1.119 MB / 0.7575 GB, free: 1.027 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.6799, allocations: 64.06 kB / 0.7576 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.6828, allocations: 1.479 MB / 0.759 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.6833, allocations: 0.9957 MB / 0.76 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000561/0.6838, allocations: 118.9 kB / 0.7601 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.684, allocations: 35.44 kB / 0.7601 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of SimCode: time 8.12e-07/0.684, allocations: 0 / 0.7601 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.02853/0.7125, allocations: 19.97 MB / 0.7796 GB, free: 10.3 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)