Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009383/0.0009382, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.446/1.446, allocations: 223.3 MB / 239 MB, free: 5.445 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.001301/0.001302, allocations: 180.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6621/0.6621, allocations: 78.56 MB / 419.9 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004377, allocations: 8 kB / 499.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 69.37 MB / 0.5558 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.2883/0.4551, allocations: 4.782 MB / 0.5605 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.4591, allocations: 1.668 MB / 0.5621 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005067/0.4596, allocations: 8.25 kB / 0.5621 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.46, allocations: 124.5 kB / 0.5622 GB, free: 37.06 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.001407/0.4614, allocations: 0.5307 MB / 0.5628 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.4623, allocations: 386.4 kB / 0.5631 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.4633, allocations: 1.063 MB / 0.5642 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.4636, allocations: 189.4 kB / 0.5643 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004206/0.4641, allocations: 403.8 kB / 0.5647 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.4646, allocations: 0.5132 MB / 0.5652 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.29e-05/0.4647, allocations: 51.69 kB / 0.5653 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.465, allocations: 173.1 kB / 0.5654 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.4652, allocations: 182.2 kB / 0.5656 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.4653, allocations: 180.7 kB / 0.5658 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008333/0.4662, allocations: 1.067 MB / 0.5668 GB, free: 36.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4662, allocations: 0 / 0.5668 GB, free: 36.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4662, allocations: 2.406 kB / 0.5668 GB, free: 36.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4662, allocations: 0 / 0.5668 GB, free: 36.21 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004477/0.4707, allocations: 1.716 MB / 0.5685 GB, free: 35.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4707, allocations: 8.094 kB / 0.5685 GB, free: 35.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/0.4738, allocations: 0.5312 MB / 0.569 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4751, allocations: 0.6533 MB / 0.5697 GB, free: 35.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.4754, allocations: 150.6 kB / 0.5698 GB, free: 35.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.4755, allocations: 60.84 kB / 0.5699 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.4773, allocations: 0.8196 MB / 0.5707 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.4773, allocations: 6.641 kB / 0.5707 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/0.4774, allocations: 20.88 kB / 0.5707 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.4774, allocations: 14.66 kB / 0.5707 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.4791, allocations: 0.7317 MB / 0.5714 GB, free: 35 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.004853/0.4839, allocations: 2.941 MB / 0.5743 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.4953, allocations: 3.921 MB / 0.5781 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.4966, allocations: 0.522 MB / 0.5786 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.4967, allocations: 14.92 kB / 0.5787 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4967, allocations: 37.84 kB / 0.5787 GB, free: 33.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.975e-06/0.4967, allocations: 4 kB / 0.5787 GB, free: 33.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01129/0.508, allocations: 3.906 MB / 0.5825 GB, free: 32.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.5081, allocations: 87.55 kB / 0.5826 GB, free: 31.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.5094, allocations: 0.7802 MB / 0.5834 GB, free: 31.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.5096, allocations: 36.58 kB / 0.5834 GB, free: 31.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.5099, allocations: 381.3 kB / 0.5838 GB, free: 31.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.5101, allocations: 231.8 kB / 0.584 GB, free: 31.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.5102, allocations: 20.94 kB / 0.584 GB, free: 31.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.5103, allocations: 342.8 kB / 0.5843 GB, free: 30.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.5115, allocations: 0.5821 MB / 0.5849 GB, free: 30.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.5128, allocations: 0.6983 MB / 0.5856 GB, free: 30.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.514, allocations: 0.6279 MB / 0.5862 GB, free: 29.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.514, allocations: 0 / 0.5862 GB, free: 29.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007617/0.5217, allocations: 2.874 MB / 0.589 GB, free: 29.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.5218, allocations: 147.7 kB / 0.5891 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.5218, allocations: 6.5 kB / 0.5891 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004411/0.5263, allocations: 1.265 MB / 0.5904 GB, free: 28.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009605/0.5272, allocations: 168.1 kB / 0.5905 GB, free: 28.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.5379, allocations: 5.38 MB / 0.5958 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.5394, allocations: 140.4 kB / 0.5959 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.5395, allocations: 36.67 kB / 0.596 GB, free: 25.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5395, allocations: 8.031 kB / 0.596 GB, free: 25.88 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007909/0.5474, allocations: 2.735 MB / 0.5986 GB, free: 25.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.5475, allocations: 2.656 kB / 0.5986 GB, free: 25.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/0.5521, allocations: 1.269 MB / 0.5999 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.5532, allocations: 161.7 kB / 0.6 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.5651, allocations: 5.376 MB / 0.6053 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.5666, allocations: 124.9 kB / 0.6054 GB, free: 22.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/0.5667, allocations: 35.7 kB / 0.6054 GB, free: 22.06 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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: 8 * 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 (103): * Single equations (assignments): 100 * 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.0006579/0.5673, allocations: 305.1 kB / 0.6057 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.5675, allocations: 87.06 kB / 0.6058 GB, free: 21.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006641/0.5742, allocations: 2.392 MB / 0.6081 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.5743, allocations: 7.203 kB / 0.6082 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.5743, allocations: 3.594 kB / 0.6082 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.5743, allocations: 4.734 kB / 0.6082 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009346/0.5837, allocations: 3.679 MB / 0.6118 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5837, allocations: 1.312 kB / 0.6118 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.5843, allocations: 80.97 kB / 0.6118 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003144/0.5874, allocations: 1.088 MB / 0.6129 GB, free: 18.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.5876, allocations: 16.94 kB / 0.6129 GB, free: 18.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007005/0.5946, allocations: 4.134 MB / 0.617 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5946, allocations: 4.547 kB / 0.617 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006356/0.601, allocations: 3.054 MB / 0.6199 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.6014, allocations: 187.8 kB / 0.6201 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.6015, allocations: 19.98 kB / 0.6201 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/0.6022, allocations: 79.94 kB / 0.6202 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/0.6026, allocations: 124.4 kB / 0.6203 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.6026, allocations: 20.86 kB / 0.6204 GB, free: 11.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006343/0.6033, allocations: 0.5264 MB / 0.6209 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6033, allocations: 0 / 0.6209 GB, free: 10.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001627/0.6049, allocations: 0.5235 MB / 0.6214 GB, free: 10.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * 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 (47): * Single equations (assignments): 44 * 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.0002192/0.6051, allocations: 127.2 kB / 0.6215 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007176/0.6123, allocations: 3.563 MB / 0.625 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6124, allocations: 0 / 0.625 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.6149, allocations: 1.261 MB / 0.6262 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.6157, allocations: 76.45 kB / 0.6263 GB, free: 5.027 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.6189, allocations: 2.143 MB / 0.6284 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.6193, allocations: 0.9776 MB / 0.6293 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004517/0.6198, allocations: 88.19 kB / 0.6294 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.62, allocations: 51.42 kB / 0.6295 GB, free: 1.754 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.62, allocations: 0 / 0.6295 GB, free: 1.754 MB / 430.1 MB Notification: Performance of Templates: time 0.02962/0.6496, allocations: 19.27 MB / 0.6483 GB, free: 14.69 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1) Environment - environmentSimulation: