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.003815/0.003815, 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.135/1.135, allocations: 223.2 MB / 239 MB, free: 1.801 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.0008439/0.0008439, allocations: 94.27 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3906/0.3906, allocations: 78.51 MB / 419.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 12 kB / 499.7 MB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2813, allocations: 69.36 MB / 0.5557 GB, free: 38.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.3841, allocations: 101.2 MB / 0.6545 GB, free: 5.238 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.3843, allocations: 83.95 kB / 0.6546 GB, free: 5.156 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07389/0.4582, allocations: 29.85 MB / 0.6837 GB, free: 7.168 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4583, allocations: 0 / 0.6837 GB, free: 7.168 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.839e-05/0.4583, allocations: 20 kB / 0.6838 GB, free: 7.148 MB / 490.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.0042/0.4625, allocations: 1.807 MB / 0.6855 GB, free: 5.289 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.4626, allocations: 11.97 kB / 0.6855 GB, free: 5.277 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.4646, allocations: 422 kB / 0.6859 GB, free: 4.863 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.4663, allocations: 0.9461 MB / 0.6869 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.4666, allocations: 247.8 kB / 0.6871 GB, free: 3.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.4667, allocations: 68 kB / 0.6872 GB, free: 3.516 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.4685, allocations: 1.003 MB / 0.6881 GB, free: 2.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4685, allocations: 4 kB / 0.6881 GB, free: 2.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.103e-05/0.4686, allocations: 24 kB / 0.6882 GB, free: 2.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4686, allocations: 16 kB / 0.6882 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.4704, allocations: 0.9655 MB / 0.6891 GB, free: 1.484 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.005499/0.4759, allocations: 3.625 MB / 0.6927 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/0.4897, allocations: 4.271 MB / 0.6968 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.17e-05/0.4897, allocations: 16.64 kB / 0.6968 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.4898, allocations: 43.22 kB / 0.6969 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 2.033e-06/0.4898, allocations: 0 / 0.6969 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01201/0.5018, allocations: 4.306 MB / 0.7011 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.5019, allocations: 111.5 kB / 0.7012 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.5034, allocations: 1.023 MB / 0.7022 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.5035, allocations: 41.64 kB / 0.7022 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.5038, allocations: 481 kB / 0.7027 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.5041, allocations: 272 kB / 0.703 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.5041, allocations: 16 kB / 0.703 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.5042, allocations: 334 kB / 0.7033 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.5053, allocations: 0.5681 MB / 0.7038 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.5065, allocations: 0.6742 MB / 0.7045 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.5076, allocations: 0.617 MB / 0.7051 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5076, allocations: 0 / 0.7051 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007358/0.515, allocations: 2.802 MB / 0.7078 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.5152, allocations: 0.6273 MB / 0.7085 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5152, allocations: 0 / 0.7085 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/0.5195, allocations: 1.245 MB / 0.7097 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/0.5203, allocations: 159.8 kB / 0.7098 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.5308, allocations: 5.584 MB / 0.7153 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.5321, allocations: 171.2 kB / 0.7154 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.5321, allocations: 27.94 kB / 0.7155 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.5322, allocations: 5.562 kB / 0.7155 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006973/0.5391, allocations: 2.618 MB / 0.718 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5392, allocations: 4.156 kB / 0.718 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004259/0.5434, allocations: 1.242 MB / 0.7192 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.5441, allocations: 151.7 kB / 0.7194 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.5544, allocations: 5.58 MB / 0.7248 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.5556, allocations: 155.2 kB / 0.725 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.5556, allocations: 24 kB / 0.725 GB, free: 12.04 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: 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: 7 * 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 (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.0004675/0.5561, allocations: 356.9 kB / 0.7254 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.5563, allocations: 110.6 kB / 0.7255 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006536/0.5628, allocations: 2.642 MB / 0.728 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5629, allocations: 8 kB / 0.728 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5629, allocations: 4 kB / 0.728 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5629, allocations: 7.984 kB / 0.7281 GB, free: 8.887 MB / 0.5261 GB 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 postOpt removeSimpleEquations (simulation): time 0.008208/0.5711, allocations: 4.232 MB / 0.7322 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5711, allocations: 0 / 0.7322 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.5718, allocations: 111.8 kB / 0.7323 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003129/0.5749, allocations: 1.077 MB / 0.7333 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.575, allocations: 20 kB / 0.7334 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007407/0.5824, allocations: 4.294 MB / 0.7376 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5825, allocations: 0 / 0.7376 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007624/0.5901, allocations: 3.445 MB / 0.7409 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.5904, allocations: 231.5 kB / 0.7411 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.5905, allocations: 20 kB / 0.7412 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.5917, allocations: 131.9 kB / 0.7413 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.592, allocations: 128.4 kB / 0.7414 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.592, allocations: 20 kB / 0.7414 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001318/0.5934, allocations: 0.8114 MB / 0.7422 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.5934, allocations: 192 / 0.7422 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001267/0.5946, allocations: 0.5538 MB / 0.7428 GB, free: 9.527 MB / 0.5417 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 () * Number of clocked 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.0002429/0.5949, allocations: 154.9 kB / 0.7429 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007557/0.6025, allocations: 3.501 MB / 0.7463 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6025, allocations: 0 / 0.7463 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/0.6055, allocations: 1.377 MB / 0.7477 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.606, allocations: 108.2 kB / 0.7478 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.6099, allocations: 2.714 MB / 0.7504 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.6104, allocations: 1.108 MB / 0.7515 GB, free: 348 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004906/0.6109, allocations: 129.9 kB / 0.7516 GB, free: 216 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.6112, allocations: 59.44 kB / 0.7517 GB, free: 156 kB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6112, allocations: 0 / 0.7517 GB, free: 156 kB / 0.5417 GB Notification: Performance of Templates: time 0.2078/0.819, allocations: 21.5 MB / 0.7727 GB, free: 147 MB / 0.5573 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)