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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008612, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 238.9 MB, free: 5.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 187.8 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4638/0.4638, allocations: 78.52 MB / 419.8 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8 kB / 499.7 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 69.37 MB / 0.5557 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.237/0.3691, allocations: 5.135 MB / 0.5607 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003505/0.3727, allocations: 2.077 MB / 0.5627 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006392/0.3734, allocations: 9.906 kB / 0.5627 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.374, allocations: 175 kB / 0.5629 GB, free: 37.21 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001688/0.3757, allocations: 0.6526 MB / 0.5635 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3768, allocations: 0.4995 MB / 0.564 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.3783, allocations: 1.018 MB / 0.565 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.3787, allocations: 240.7 kB / 0.5652 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007709/0.3795, allocations: 0.5725 MB / 0.5658 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007427/0.3803, allocations: 0.6488 MB / 0.5664 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.3804, allocations: 60.44 kB / 0.5665 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.381, allocations: 169.8 kB / 0.5667 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.3813, allocations: 246.8 kB / 0.5669 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.3815, allocations: 229.5 kB / 0.5671 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3827, allocations: 1.482 MB / 0.5686 GB, free: 36.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3827, allocations: 0 / 0.5686 GB, free: 36.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3827, allocations: 0 / 0.5686 GB, free: 36.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.3827, allocations: 0 / 0.5686 GB, free: 36.6 MB / 430.1 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.006182/0.3889, allocations: 2.086 MB / 0.5706 GB, free: 35.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3889, allocations: 8.844 kB / 0.5706 GB, free: 35.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.3922, allocations: 0.5598 MB / 0.5712 GB, free: 35.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.3941, allocations: 0.9531 MB / 0.5721 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.3944, allocations: 250.2 kB / 0.5723 GB, free: 35.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.3945, allocations: 72.69 kB / 0.5724 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.3966, allocations: 1.01 MB / 0.5734 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.3966, allocations: 0.625 kB / 0.5734 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/0.3967, allocations: 25.66 kB / 0.5734 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.3968, allocations: 14.56 kB / 0.5734 GB, free: 34.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.3986, allocations: 0.9708 MB / 0.5744 GB, free: 34.56 MB / 430.1 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.005496/0.4041, allocations: 3.785 MB / 0.5781 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/0.418, allocations: 4.279 MB / 0.5822 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.4183, allocations: 11.77 kB / 0.5823 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.4183, allocations: 41.75 kB / 0.5823 GB, free: 31.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.316e-06/0.4183, allocations: 0.9062 kB / 0.5823 GB, free: 31.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01286/0.4312, allocations: 4.252 MB / 0.5864 GB, free: 30.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.4313, allocations: 114.8 kB / 0.5866 GB, free: 30.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.4337, allocations: 1.151 MB / 0.5877 GB, free: 29.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.434, allocations: 41.95 kB / 0.5877 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.4344, allocations: 474.6 kB / 0.5882 GB, free: 29.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.4349, allocations: 277.9 kB / 0.5884 GB, free: 29.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/0.435, allocations: 25.09 kB / 0.5885 GB, free: 29.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4351, allocations: 345.2 kB / 0.5888 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4366, allocations: 0.6908 MB / 0.5895 GB, free: 28.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.4381, allocations: 0.8187 MB / 0.5903 GB, free: 28.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4395, allocations: 0.7475 MB / 0.591 GB, free: 27.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.4395, allocations: 5.031 kB / 0.591 GB, free: 27.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008572/0.4481, allocations: 3.127 MB / 0.5941 GB, free: 26.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.4483, allocations: 0.6192 MB / 0.5947 GB, free: 26.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4483, allocations: 1.984 kB / 0.5947 GB, free: 26.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004889/0.4532, allocations: 1.265 MB / 0.5959 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.4546, allocations: 218.6 kB / 0.5961 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.4665, allocations: 5.606 MB / 0.6016 GB, free: 23.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.4687, allocations: 196.8 kB / 0.6018 GB, free: 23.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4688, allocations: 37.98 kB / 0.6018 GB, free: 23.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.4689, allocations: 4.094 kB / 0.6018 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008404/0.4773, allocations: 2.94 MB / 0.6047 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4773, allocations: 2.125 kB / 0.6047 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/0.4821, allocations: 1.261 MB / 0.6059 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.4835, allocations: 214.6 kB / 0.6061 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.495, allocations: 5.593 MB / 0.6116 GB, free: 19.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.4969, allocations: 175.2 kB / 0.6117 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.4971, allocations: 40.36 kB / 0.6118 GB, free: 19.04 MB / 430.1 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.000718/0.4978, allocations: 360.6 kB / 0.6121 GB, free: 18.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.4982, allocations: 115.3 kB / 0.6122 GB, free: 18.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007002/0.5052, allocations: 2.645 MB / 0.6148 GB, free: 16.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5052, allocations: 8 kB / 0.6148 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.5052, allocations: 5.188 kB / 0.6148 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.5052, allocations: 4.078 kB / 0.6148 GB, free: 16.98 MB / 430.1 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.008255/0.5135, allocations: 4.232 MB / 0.619 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.5135, allocations: 0 / 0.619 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.5143, allocations: 111.9 kB / 0.6191 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/0.5173, allocations: 1.087 MB / 0.6201 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.5175, allocations: 20 kB / 0.6202 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00792/0.5254, allocations: 4.313 MB / 0.6244 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5254, allocations: 0 / 0.6244 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007687/0.5331, allocations: 3.464 MB / 0.6278 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.5336, allocations: 227.5 kB / 0.628 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.5338, allocations: 24.81 kB / 0.628 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.5349, allocations: 129.6 kB / 0.6281 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.5352, allocations: 140.4 kB / 0.6283 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.5353, allocations: 16 kB / 0.6283 GB, free: 3.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001263/0.5366, allocations: 0.8114 MB / 0.6291 GB, free: 2.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5366, allocations: 0 / 0.6291 GB, free: 2.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001682/0.5383, allocations: 0.5891 MB / 0.6296 GB, free: 1.781 MB / 430.1 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.0002524/0.5385, allocations: 134.5 kB / 0.6298 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008829/0.5474, allocations: 3.896 MB / 0.6336 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.5474, allocations: 4.375 kB / 0.6336 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003302/0.5507, allocations: 1.379 MB / 0.6349 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.5517, allocations: 104.8 kB / 0.635 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.5563, allocations: 2.719 MB / 0.6377 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.557, allocations: 1.105 MB / 0.6388 GB, free: 8.273 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007427/0.5578, allocations: 151.5 kB / 0.6389 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.5581, allocations: 67.42 kB / 0.639 GB, free: 8.059 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5581, allocations: 0 / 0.639 GB, free: 8.059 MB / 446.1 MB Notification: Performance of Templates: time 0.0349/0.593, allocations: 22.17 MB / 0.6606 GB, free: 2.094 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: