Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.003803/0.003803, allocations: 170.8 kB / 15.11 MB, free: 5.969 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.134/1.134, allocations: 223.2 MB / 239 MB, free: 1.797 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.0008085/0.0008085, allocations: 89.67 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3958/0.3958, allocations: 78.51 MB / 419.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 12 kB / 499.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2697, allocations: 69.35 MB / 0.5557 GB, free: 38.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09556/0.3653, allocations: 98.98 MB / 0.6524 GB, free: 7.434 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.3655, allocations: 81.11 kB / 0.6525 GB, free: 7.355 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05364/0.4192, allocations: 22.26 MB / 0.6742 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4192, allocations: 4 kB / 0.6742 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.119e-05/0.4193, allocations: 12 kB / 0.6742 GB, free: 0.9336 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.003051/0.4223, allocations: 1.473 MB / 0.6757 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4224, allocations: 12.03 kB / 0.6757 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.4244, allocations: 386.5 kB / 0.676 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.4251, allocations: 0.6135 MB / 0.6766 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.4253, allocations: 158.3 kB / 0.6768 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.4254, allocations: 52.34 kB / 0.6768 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.4268, allocations: 0.8149 MB / 0.6776 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4268, allocations: 4 kB / 0.6776 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.4269, allocations: 24 kB / 0.6777 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4269, allocations: 19.98 kB / 0.6777 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.4282, allocations: 0.7313 MB / 0.6784 GB, free: 12.53 MB / 490.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.004309/0.4325, allocations: 2.868 MB / 0.6812 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.4452, allocations: 3.914 MB / 0.685 GB, free: 5.574 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.816e-05/0.4452, allocations: 12.55 kB / 0.685 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4453, allocations: 43.06 kB / 0.6851 GB, free: 5.512 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 1.603e-06/0.4453, allocations: 0 / 0.6851 GB, free: 5.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01076/0.456, allocations: 3.889 MB / 0.6889 GB, free: 1.551 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4561, allocations: 81.67 kB / 0.6889 GB, free: 1.453 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.4568, allocations: 0.6761 MB / 0.6896 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.4569, allocations: 33.7 kB / 0.6896 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.4571, allocations: 380.6 kB / 0.69 GB, free: 360 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.4573, allocations: 236.6 kB / 0.6902 GB, free: 120 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.4574, allocations: 16 kB / 0.6902 GB, free: 104 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4575, allocations: 326 kB / 0.6905 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008482/0.4583, allocations: 477.8 kB / 0.691 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/0.4592, allocations: 0.5567 MB / 0.6915 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.4601, allocations: 0.4997 MB / 0.692 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4602, allocations: 0 / 0.692 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006836/0.467, allocations: 2.556 MB / 0.6945 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.4672, allocations: 0.6978 MB / 0.6952 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4672, allocations: 8 kB / 0.6952 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/0.4716, allocations: 1.244 MB / 0.6964 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.4721, allocations: 111.8 kB / 0.6965 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.4825, allocations: 5.584 MB / 0.702 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.4834, allocations: 119.3 kB / 0.7021 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.4834, allocations: 27.98 kB / 0.7021 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.4835, allocations: 8 kB / 0.7021 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006615/0.4901, allocations: 2.406 MB / 0.7045 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.4901, allocations: 0 / 0.7045 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004269/0.4944, allocations: 1.251 MB / 0.7057 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.4948, allocations: 99.83 kB / 0.7058 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.5051, allocations: 5.568 MB / 0.7112 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.5059, allocations: 107.4 kB / 0.7114 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.506, allocations: 35.92 kB / 0.7114 GB, free: 10.05 MB / 0.5105 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.0003836/0.5064, allocations: 281 kB / 0.7117 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.5065, allocations: 86.97 kB / 0.7117 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006078/0.5126, allocations: 2.403 MB / 0.7141 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5127, allocations: 12 kB / 0.7141 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5127, allocations: 4 kB / 0.7141 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.5127, allocations: 7.938 kB / 0.7141 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007347/0.52, allocations: 3.674 MB / 0.7177 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.52, allocations: 3.953 kB / 0.7177 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.5205, allocations: 83.89 kB / 0.7178 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/0.5236, allocations: 1.079 MB / 0.7188 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.5237, allocations: 12 kB / 0.7188 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/0.5312, allocations: 4.276 MB / 0.723 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5312, allocations: 4 kB / 0.723 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006761/0.538, allocations: 3.091 MB / 0.726 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.5381, allocations: 179.9 kB / 0.7262 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.5383, allocations: 12 kB / 0.7262 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/0.539, allocations: 75.94 kB / 0.7263 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.5393, allocations: 136.3 kB / 0.7264 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.5394, allocations: 16 kB / 0.7264 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005659/0.5399, allocations: 0.5342 MB / 0.727 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5399, allocations: 0 / 0.727 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001061/0.541, allocations: 487.2 kB / 0.7274 GB, free: 9.277 MB / 0.5261 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.0002387/0.5413, allocations: 151.6 kB / 0.7276 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006848/0.5481, allocations: 3.154 MB / 0.7307 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5481, allocations: 0 / 0.7307 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/0.5508, allocations: 1.271 MB / 0.7319 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.5511, allocations: 60.7 kB / 0.732 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.5542, allocations: 2.128 MB / 0.734 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.5547, allocations: 0.9906 MB / 0.735 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000312/0.555, allocations: 68.69 kB / 0.7351 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.5552, allocations: 43.42 kB / 0.7351 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.5552, allocations: 4 kB / 0.7351 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of Templates: time 0.02387/0.5791, allocations: 18.56 MB / 0.7532 GB, free: 14.68 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)