Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.0008722/0.0008722, allocations: 177.1 kB / 15.78 MB, free: 6.352 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.459/1.459, allocations: 223.2 MB / 239.8 MB, free: 15.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008137, allocations: 93.53 kB / 290.9 MB, free: 4.613 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4925/0.4925, allocations: 78.62 MB / 420.7 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004562, allocations: 16 kB / 0.4888 GB, free: 7.219 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1663, allocations: 69.36 MB / 0.5565 GB, free: 1.789 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.006341/0.1727, allocations: 5.379 MB / 0.5618 GB, free: 12.39 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004544/0.1772, allocations: 2.056 MB / 0.5638 GB, free: 10.33 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1784, allocations: 11.94 kB / 0.5638 GB, free: 10.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009653/0.1794, allocations: 174.8 kB / 0.564 GB, free: 10.14 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation Transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.002303/0.1817, allocations: 0.5996 MB / 0.5646 GB, free: 9.547 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.183, allocations: 0.5057 MB / 0.565 GB, free: 9.047 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1849, allocations: 1.577 MB / 0.5666 GB, free: 7.465 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.1854, allocations: 247.7 kB / 0.5668 GB, free: 7.207 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007315/0.1861, allocations: 0.5525 MB / 0.5674 GB, free: 6.652 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007849/0.1869, allocations: 0.6768 MB / 0.568 GB, free: 5.973 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.187, allocations: 56 kB / 0.5681 GB, free: 5.918 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.1875, allocations: 179.9 kB / 0.5682 GB, free: 5.742 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.1878, allocations: 254.9 kB / 0.5685 GB, free: 5.492 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.188, allocations: 221.1 kB / 0.5687 GB, free: 5.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.1893, allocations: 1.519 MB / 0.5702 GB, free: 3.746 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1893, allocations: 0 / 0.5702 GB, free: 3.746 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1894, allocations: 0 / 0.5702 GB, free: 3.746 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1894, allocations: 3.938 kB / 0.5702 GB, free: 3.742 MB / 442.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.006667/0.196, allocations: 2.072 MB / 0.5722 GB, free: 1.617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1961, allocations: 12.03 kB / 0.5722 GB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.1995, allocations: 0.5643 MB / 0.5728 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.2015, allocations: 0.9488 MB / 0.5737 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3073/0.5088, allocations: 247.1 kB / 0.5739 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/0.5093, allocations: 71.14 kB / 0.574 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.5116, allocations: 1.013 MB / 0.575 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.5116, allocations: 2.312 kB / 0.575 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.5117, allocations: 26.5 kB / 0.575 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.5118, allocations: 16.91 kB / 0.575 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.5138, allocations: 0.9601 MB / 0.576 GB, free: 44.02 MB / 442.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.006856/0.5207, allocations: 3.695 MB / 0.5796 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/0.536, allocations: 4.28 MB / 0.5838 GB, free: 43.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.5377, allocations: 0.6234 MB / 0.5844 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.061e-05/0.5378, allocations: 10.83 kB / 0.5844 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5379, allocations: 39.88 kB / 0.5844 GB, free: 42.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=76): time 3.226e-06/0.5379, allocations: 0 / 0.5844 GB, free: 42.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=76): time 0.01409/0.552, allocations: 4.253 MB / 0.5886 GB, free: 42.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.5521, allocations: 117.3 kB / 0.5887 GB, free: 42.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.5548, allocations: 1.146 MB / 0.5898 GB, free: 42.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003119/0.5552, allocations: 46.58 kB / 0.5899 GB, free: 42.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.5556, allocations: 475.4 kB / 0.5903 GB, free: 41.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.556, allocations: 284.1 kB / 0.5906 GB, free: 41.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.5561, allocations: 19.38 kB / 0.5906 GB, free: 41.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.5562, allocations: 350.8 kB / 0.5909 GB, free: 41.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.5577, allocations: 0.6895 MB / 0.5916 GB, free: 41.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.5593, allocations: 0.818 MB / 0.5924 GB, free: 40.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.5608, allocations: 0.7555 MB / 0.5931 GB, free: 40.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5608, allocations: 0 / 0.5931 GB, free: 40.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.009063/0.5699, allocations: 3.123 MB / 0.5962 GB, free: 39.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.5701, allocations: 142.2 kB / 0.5963 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.5701, allocations: 4.062 kB / 0.5963 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005051/0.5752, allocations: 1.258 MB / 0.5976 GB, free: 39.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.5767, allocations: 227.4 kB / 0.5978 GB, free: 39.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.5875, allocations: 5.378 MB / 0.603 GB, free: 36.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.5895, allocations: 201.8 kB / 0.6032 GB, free: 36.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.5896, allocations: 37.67 kB / 0.6033 GB, free: 36.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.5897, allocations: 3.062 kB / 0.6033 GB, free: 36.26 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007913/0.5976, allocations: 2.943 MB / 0.6061 GB, free: 35.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5976, allocations: 3.062 kB / 0.6061 GB, free: 35.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00459/0.6022, allocations: 1.256 MB / 0.6074 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.6035, allocations: 207 kB / 0.6076 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.6145, allocations: 5.376 MB / 0.6128 GB, free: 32.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.6164, allocations: 180.6 kB / 0.613 GB, free: 32.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.6166, allocations: 39.44 kB / 0.613 GB, free: 32.34 MB / 442.7 MB 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 (118): * Single equations (assignments): 115 * 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.0007183/0.6173, allocations: 355.9 kB / 0.6134 GB, free: 32.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.6175, allocations: 118.8 kB / 0.6135 GB, free: 31.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007526/0.6251, allocations: 2.643 MB / 0.6161 GB, free: 31.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6251, allocations: 11.41 kB / 0.6161 GB, free: 31.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.6251, allocations: 10.05 kB / 0.6161 GB, free: 31.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.6252, allocations: 3.562 kB / 0.6161 GB, free: 31.21 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.009914/0.6351, allocations: 4.223 MB / 0.6202 GB, free: 29.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.6351, allocations: 1.312 kB / 0.6202 GB, free: 29.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.636, allocations: 116.8 kB / 0.6203 GB, free: 29.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003643/0.6396, allocations: 1.081 MB / 0.6214 GB, free: 29.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.6398, allocations: 21.95 kB / 0.6214 GB, free: 29.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008389/0.6482, allocations: 4.135 MB / 0.6254 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6483, allocations: 4.641 kB / 0.6254 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00961/0.6579, allocations: 3.444 MB / 0.6288 GB, free: 25.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/0.6585, allocations: 228.7 kB / 0.629 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.6587, allocations: 18.86 kB / 0.629 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.66, allocations: 134.5 kB / 0.6292 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.6605, allocations: 129.8 kB / 0.6293 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.6605, allocations: 19.06 kB / 0.6293 GB, free: 25.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001741/0.6623, allocations: 0.8109 MB / 0.6301 GB, free: 25.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6623, allocations: 1.375 kB / 0.6301 GB, free: 25.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002349/0.6647, allocations: 0.5934 MB / 0.6307 GB, free: 25.19 MB / 442.7 MB 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.000316/0.665, allocations: 134.4 kB / 0.6308 GB, free: 25.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009395/0.6744, allocations: 3.898 MB / 0.6346 GB, free: 22.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.6744, allocations: 0 / 0.6346 GB, free: 22.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003377/0.6778, allocations: 1.381 MB / 0.636 GB, free: 21.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.679, allocations: 122.4 kB / 0.6361 GB, free: 21.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.6838, allocations: 2.764 MB / 0.6388 GB, free: 18.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.6844, allocations: 1.082 MB / 0.6398 GB, free: 17.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.6849, allocations: 82.23 kB / 0.6399 GB, free: 17.87 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6849, allocations: 0 / 0.6399 GB, free: 17.87 MB / 442.7 MB Notification: Performance of Templates: time 0.03334/0.7182, allocations: 30.03 MB / 0.6692 GB, free: 4.305 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)