Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 229.6 MB, free: 7.516 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.0008504/0.0008504, allocations: 93.97 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4729/0.4729, allocations: 78.07 MB / 409.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.745e-05, allocations: 4 kB / 484.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1612, allocations: 69.36 MB / 0.5413 GB, free: 6.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.442/0.6032, allocations: 100.4 MB / 0.6393 GB, free: 15.14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.6035, allocations: 75.95 kB / 0.6394 GB, free: 15.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08428/0.6878, allocations: 29.46 MB / 0.6682 GB, free: 1.676 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6878, allocations: 0 / 0.6682 GB, free: 1.676 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001521/0.688, allocations: 21.31 kB / 0.6682 GB, free: 1.656 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.00491/0.6929, allocations: 1.471 MB / 0.6696 GB, free: 140 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.693, allocations: 8.031 kB / 0.6697 GB, free: 132 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.6958, allocations: 418 kB / 0.6701 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.698, allocations: 0.8566 MB / 0.6709 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/0.6983, allocations: 231.8 kB / 0.6711 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.6987, allocations: 47.86 kB / 0.6712 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001761/0.7004, allocations: 0.7485 MB / 0.6719 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.7021, allocations: 0.7587 MB / 0.6726 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.7021, allocations: 0 / 0.6726 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.7022, allocations: 0 / 0.6726 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.7023, allocations: 20.75 kB / 0.6726 GB, free: 12.95 MB / 490.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.007328/0.7096, allocations: 3.5 MB / 0.6761 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/0.7235, allocations: 3.973 MB / 0.6799 GB, free: 5.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.7246, allocations: 458.6 kB / 0.6804 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.7247, allocations: 12.78 kB / 0.6804 GB, free: 4.859 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.7248, allocations: 39.34 kB / 0.6804 GB, free: 4.812 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.376e-06/0.7248, allocations: 0 / 0.6804 GB, free: 4.812 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006538/0.7313, allocations: 2.101 MB / 0.6825 GB, free: 2.695 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.7314, allocations: 112.2 kB / 0.6826 GB, free: 2.559 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.7334, allocations: 0.8583 MB / 0.6834 GB, free: 1.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.7336, allocations: 25.7 kB / 0.6835 GB, free: 1.652 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.734, allocations: 488.6 kB / 0.6839 GB, free: 1.172 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/0.7344, allocations: 264.1 kB / 0.6842 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.7345, allocations: 0 / 0.6842 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7346, allocations: 342 kB / 0.6845 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007185/0.7354, allocations: 416.2 kB / 0.6849 GB, free: 172 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.7362, allocations: 0.5029 MB / 0.6854 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/0.737, allocations: 461.2 kB / 0.6858 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.737, allocations: 0 / 0.6858 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006872/0.7439, allocations: 2.324 MB / 0.6881 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002944/0.7442, allocations: 0.6153 MB / 0.6887 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.7442, allocations: 0 / 0.6887 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00404/0.7483, allocations: 1.002 MB / 0.6897 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.7494, allocations: 163.7 kB / 0.6898 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008532/0.7579, allocations: 4.311 MB / 0.694 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.7597, allocations: 159.2 kB / 0.6942 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.7599, allocations: 27.98 kB / 0.6942 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.7599, allocations: 4 kB / 0.6942 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006746/0.7667, allocations: 2.166 MB / 0.6963 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.7667, allocations: 2.312 kB / 0.6963 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003936/0.7707, allocations: 1.004 MB / 0.6973 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.7716, allocations: 144.4 kB / 0.6975 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/0.7798, allocations: 4.297 MB / 0.7017 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.7815, allocations: 143.2 kB / 0.7018 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.7817, allocations: 28 kB / 0.7018 GB, free: 14.49 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * 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.0004172/0.7821, allocations: 121.5 kB / 0.7019 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004268/0.7826, allocations: 110.6 kB / 0.702 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006139/0.7887, allocations: 2.181 MB / 0.7042 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7888, allocations: 8 kB / 0.7042 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.7888, allocations: 4 kB / 0.7042 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.7888, allocations: 6.484 kB / 0.7042 GB, free: 12.04 MB / 0.5105 GB 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 postOpt removeSimpleEquations (simulation): time 0.008486/0.7973, allocations: 3.674 MB / 0.7078 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7973, allocations: 7.875 kB / 0.7078 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007569/0.7981, allocations: 111.9 kB / 0.7079 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/0.8008, allocations: 0.8354 MB / 0.7087 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.801, allocations: 8 kB / 0.7087 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005697/0.8067, allocations: 3.274 MB / 0.7119 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.8067, allocations: 0.6562 kB / 0.7119 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00712/0.8138, allocations: 2.827 MB / 0.7147 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/0.8145, allocations: 223.6 kB / 0.7149 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/0.8149, allocations: 10.05 kB / 0.7149 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.8163, allocations: 119.9 kB / 0.715 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/0.8168, allocations: 140.4 kB / 0.7151 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.69e-05/0.8169, allocations: 24 kB / 0.7152 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001306/0.8182, allocations: 0.656 MB / 0.7158 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8182, allocations: 0 / 0.7158 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002212/0.8204, allocations: 0.5069 MB / 0.7163 GB, free: 15.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.0003722/0.8208, allocations: 136.3 kB / 0.7164 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007511/0.8283, allocations: 3.006 MB / 0.7194 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8284, allocations: 4 kB / 0.7194 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003/0.8314, allocations: 1.18 MB / 0.7205 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.8327, allocations: 82.78 kB / 0.7206 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.8382, allocations: 1.885 MB / 0.7224 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.8394, allocations: 1.107 MB / 0.7235 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001485/0.8409, allocations: 212.5 kB / 0.7237 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.8412, allocations: 44.09 kB / 0.7238 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/0.8412, allocations: 0 / 0.7238 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of Templates: time 0.03955/0.8808, allocations: 21.17 MB / 0.7444 GB, free: 2.547 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)