Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008466/0.008466, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 239 MB, free: 88 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009782, allocations: 94.97 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5155/0.5155, allocations: 78.58 MB / 419.9 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 15.98 kB / 499.8 MB, free: 7.312 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.178, allocations: 69.36 MB / 0.5558 GB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4988/0.6769, allocations: 98.96 MB / 0.6524 GB, free: 3.227 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.6772, allocations: 87.34 kB / 0.6525 GB, free: 3.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06382/0.7411, allocations: 22.26 MB / 0.6742 GB, free: 13.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.7411, allocations: 1.312 kB / 0.6743 GB, free: 13.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.329e-05/0.7412, allocations: 20 kB / 0.6743 GB, free: 13.54 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005557/0.7468, allocations: 1.475 MB / 0.6757 GB, free: 12.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.7469, allocations: 8.781 kB / 0.6757 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.7496, allocations: 394.4 kB / 0.6761 GB, free: 11.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.7512, allocations: 0.6056 MB / 0.6767 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.7515, allocations: 154.4 kB / 0.6768 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.7518, allocations: 56.34 kB / 0.6769 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.7538, allocations: 0.8188 MB / 0.6777 GB, free: 9.914 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.7538, allocations: 0 / 0.6777 GB, free: 9.914 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.7539, allocations: 20 kB / 0.6777 GB, free: 9.895 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.7539, allocations: 13.78 kB / 0.6777 GB, free: 9.883 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.7556, allocations: 0.7352 MB / 0.6784 GB, free: 9.145 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006901/0.7625, allocations: 2.87 MB / 0.6812 GB, free: 6.156 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.7763, allocations: 3.915 MB / 0.6851 GB, free: 2.191 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.7765, allocations: 20.5 kB / 0.6851 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.7765, allocations: 35.12 kB / 0.6851 GB, free: 2.129 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 4.038e-06/0.7766, allocations: 0 / 0.6851 GB, free: 2.129 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01277/0.7893, allocations: 3.889 MB / 0.6889 GB, free: 14.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.7895, allocations: 85.67 kB / 0.689 GB, free: 14.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.7912, allocations: 0.6682 MB / 0.6896 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.7913, allocations: 37.7 kB / 0.6897 GB, free: 13.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.7918, allocations: 384.6 kB / 0.6901 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.7921, allocations: 232.6 kB / 0.6903 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.7922, allocations: 12 kB / 0.6903 GB, free: 12.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.7923, allocations: 334 kB / 0.6906 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.7934, allocations: 477.8 kB / 0.6911 GB, free: 11.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.7946, allocations: 0.5529 MB / 0.6916 GB, free: 11.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.7958, allocations: 0.4958 MB / 0.6921 GB, free: 10.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.7958, allocations: 4.75 kB / 0.6921 GB, free: 10.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007904/0.8037, allocations: 2.552 MB / 0.6946 GB, free: 8.266 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003541/0.8041, allocations: 0.7026 MB / 0.6953 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.8041, allocations: 0 / 0.6953 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004843/0.809, allocations: 1.251 MB / 0.6965 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.8097, allocations: 111.8 kB / 0.6966 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/0.8222, allocations: 5.58 MB / 0.702 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.8237, allocations: 119.3 kB / 0.7022 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.8239, allocations: 29.95 kB / 0.7022 GB, free: 308 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8239, allocations: 4 kB / 0.7022 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007457/0.8314, allocations: 2.414 MB / 0.7045 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.8315, allocations: 0 / 0.7045 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004778/0.8362, allocations: 1.25 MB / 0.7058 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.8369, allocations: 103.8 kB / 0.7059 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.8491, allocations: 5.559 MB / 0.7113 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.8505, allocations: 111.4 kB / 0.7114 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.8507, allocations: 27.59 kB / 0.7114 GB, free: 6.699 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = true 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 () * Number of clocked 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.0007769/0.8515, allocations: 293.8 kB / 0.7117 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/0.8518, allocations: 82.97 kB / 0.7118 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00677/0.8586, allocations: 2.399 MB / 0.7141 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.8586, allocations: 8 kB / 0.7141 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.8587, allocations: 8 kB / 0.7141 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.8587, allocations: 7.938 kB / 0.7142 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009173/0.8679, allocations: 3.67 MB / 0.7177 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.8679, allocations: 12.02 kB / 0.7177 GB, free: 88 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.8685, allocations: 75.91 kB / 0.7178 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003497/0.872, allocations: 1.082 MB / 0.7189 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.8721, allocations: 17.59 kB / 0.7189 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008747/0.8809, allocations: 4.281 MB / 0.7231 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.881, allocations: 0 / 0.7231 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008181/0.8891, allocations: 3.087 MB / 0.7261 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/0.8898, allocations: 183.9 kB / 0.7263 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.8901, allocations: 12 kB / 0.7263 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8911, allocations: 79.94 kB / 0.7264 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004389/0.8916, allocations: 136.3 kB / 0.7265 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.8917, allocations: 16 kB / 0.7265 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009708/0.8926, allocations: 0.5264 MB / 0.727 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8926, allocations: 0 / 0.727 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001959/0.8946, allocations: 491.2 kB / 0.7275 GB, free: 5.922 MB / 0.5105 GB 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 () * Number of clocked 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.0003774/0.895, allocations: 144.9 kB / 0.7276 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008283/0.9033, allocations: 3.16 MB / 0.7307 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9033, allocations: 0 / 0.7307 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003107/0.9065, allocations: 1.271 MB / 0.7319 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/0.9074, allocations: 64.53 kB / 0.732 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.9121, allocations: 2.13 MB / 0.7341 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.9128, allocations: 0.9906 MB / 0.7351 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004963/0.9133, allocations: 68.69 kB / 0.7351 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.9136, allocations: 47.36 kB / 0.7352 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.9136, allocations: 0 / 0.7352 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of Templates: time 0.0334/0.947, allocations: 18.57 MB / 0.7533 GB, free: 11.36 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)