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.001227/0.001227, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.486/1.486, allocations: 223.3 MB / 239.1 MB, free: 5.434 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.00106/0.001061, allocations: 180.6 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5304/0.5304, allocations: 78.56 MB / 419.9 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003648, allocations: 12 kB / 499.8 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1651, allocations: 69.36 MB / 0.5558 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.318/0.4831, allocations: 5.377 MB / 0.5611 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004558/0.4877, allocations: 2.057 MB / 0.5631 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.4888, allocations: 10.75 kB / 0.5631 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.4894, allocations: 173 kB / 0.5632 GB, free: 36.9 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.001831/0.4913, allocations: 0.6004 MB / 0.5638 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.4926, allocations: 0.5072 MB / 0.5643 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.4944, allocations: 1.578 MB / 0.5659 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.4949, allocations: 241.2 kB / 0.5661 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.4958, allocations: 0.5628 MB / 0.5667 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.4967, allocations: 0.6694 MB / 0.5673 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.4969, allocations: 61.34 kB / 0.5674 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.4974, allocations: 181.5 kB / 0.5675 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.4978, allocations: 247.7 kB / 0.5678 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.4981, allocations: 228.5 kB / 0.568 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.4996, allocations: 1.508 MB / 0.5695 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4996, allocations: 0 / 0.5695 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.4996, allocations: 0 / 0.5695 GB, free: 35.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.4996, allocations: 5.688 kB / 0.5695 GB, free: 35.9 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.00669/0.5063, allocations: 2.087 MB / 0.5715 GB, free: 35.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5064, allocations: 10.94 kB / 0.5715 GB, free: 35.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.5097, allocations: 0.5574 MB / 0.5721 GB, free: 35.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.5122, allocations: 0.959 MB / 0.573 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.5125, allocations: 244.9 kB / 0.5732 GB, free: 34.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.5128, allocations: 68.38 kB / 0.5733 GB, free: 34.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.5153, allocations: 1.012 MB / 0.5743 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5154, allocations: 0.8125 kB / 0.5743 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/0.5155, allocations: 29.56 kB / 0.5743 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.5155, allocations: 14.78 kB / 0.5743 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.5177, allocations: 0.9637 MB / 0.5753 GB, free: 33.95 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.007671/0.5254, allocations: 3.684 MB / 0.5789 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/0.5386, allocations: 4.279 MB / 0.583 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.5402, allocations: 0.6238 MB / 0.5837 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.5404, allocations: 12.05 kB / 0.5837 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.5405, allocations: 43.03 kB / 0.5837 GB, free: 30.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 4.268e-06/0.5405, allocations: 4 kB / 0.5837 GB, free: 30.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01319/0.5537, allocations: 4.26 MB / 0.5879 GB, free: 29.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.5537, allocations: 112 kB / 0.588 GB, free: 29.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.557, allocations: 1.158 MB / 0.5891 GB, free: 28.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003248/0.5574, allocations: 40.92 kB / 0.5892 GB, free: 28.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005322/0.5579, allocations: 468.4 kB / 0.5896 GB, free: 28.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/0.5584, allocations: 282.6 kB / 0.5899 GB, free: 28.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.5586, allocations: 20.03 kB / 0.5899 GB, free: 28.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.5587, allocations: 346.8 kB / 0.5902 GB, free: 28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.5604, allocations: 0.6911 MB / 0.5909 GB, free: 27.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.5622, allocations: 0.817 MB / 0.5917 GB, free: 27.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.564, allocations: 0.7525 MB / 0.5924 GB, free: 27.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.564, allocations: 1.281 kB / 0.5924 GB, free: 27.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.009435/0.5734, allocations: 3.127 MB / 0.5955 GB, free: 26.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/0.5736, allocations: 140 kB / 0.5956 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5736, allocations: 1.344 kB / 0.5956 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005394/0.579, allocations: 1.269 MB / 0.5969 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.5805, allocations: 223.1 kB / 0.5971 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.5933, allocations: 5.373 MB / 0.6023 GB, free: 22.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.5957, allocations: 200.5 kB / 0.6025 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003577/0.5961, allocations: 37.3 kB / 0.6025 GB, free: 22.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5961, allocations: 4.344 kB / 0.6025 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009682/0.6058, allocations: 2.942 MB / 0.6054 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.6059, allocations: 3.359 kB / 0.6054 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005171/0.611, allocations: 1.263 MB / 0.6067 GB, free: 21.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.6125, allocations: 210.1 kB / 0.6069 GB, free: 21.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.6256, allocations: 5.377 MB / 0.6121 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.6279, allocations: 183.1 kB / 0.6123 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/0.6284, allocations: 36.23 kB / 0.6123 GB, free: 18.88 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.001423/0.6298, allocations: 350.2 kB / 0.6126 GB, free: 18.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006487/0.6305, allocations: 117.1 kB / 0.6128 GB, free: 18.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007513/0.638, allocations: 2.654 MB / 0.6154 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.6381, allocations: 8 kB / 0.6154 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.6381, allocations: 7.469 kB / 0.6154 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.6381, allocations: 4.688 kB / 0.6154 GB, free: 16.61 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.009122/0.6473, allocations: 4.222 MB / 0.6195 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6473, allocations: 4 kB / 0.6195 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/0.6481, allocations: 115.8 kB / 0.6196 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003017/0.6511, allocations: 1.078 MB / 0.6207 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.6512, allocations: 19.98 kB / 0.6207 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007055/0.6583, allocations: 4.147 MB / 0.6247 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6583, allocations: 0 / 0.6247 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007676/0.666, allocations: 3.442 MB / 0.6281 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005238/0.6665, allocations: 231.4 kB / 0.6283 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.6669, allocations: 20 kB / 0.6283 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6681, allocations: 131.9 kB / 0.6285 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.6684, allocations: 132.4 kB / 0.6286 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.6685, allocations: 20 kB / 0.6286 GB, free: 2.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001525/0.67, allocations: 0.8075 MB / 0.6294 GB, free: 2.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.67, allocations: 0 / 0.6294 GB, free: 2.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002322/0.6724, allocations: 0.593 MB / 0.63 GB, free: 1.496 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.0002909/0.6727, allocations: 138.2 kB / 0.6301 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009346/0.682, allocations: 3.895 MB / 0.6339 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6821, allocations: 0 / 0.6339 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003352/0.6854, allocations: 1.38 MB / 0.6353 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.6868, allocations: 115.4 kB / 0.6354 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.6926, allocations: 2.719 MB / 0.638 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/0.6936, allocations: 1.082 MB / 0.6391 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009794/0.6946, allocations: 150.7 kB / 0.6392 GB, free: 7.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.695, allocations: 75.34 kB / 0.6393 GB, free: 7.766 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.695, allocations: 0 / 0.6393 GB, free: 7.766 MB / 446.1 MB Notification: Performance of Templates: time 0.04194/0.7369, allocations: 22.21 MB / 0.661 GB, free: 1.754 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: