Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008712/0.008712, allocations: 169.5 kB / 15.13 MB, free: 6.023 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.462/1.462, allocations: 223.3 MB / 239.1 MB, free: 1.727 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.0007947/0.0007944, allocations: 97.73 kB / 290.3 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4919/0.4919, allocations: 78.6 MB / 420 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003823, allocations: 16 kB / 499.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4301, allocations: 69.35 MB / 0.5559 GB, free: 38.88 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.004697/0.4349, allocations: 4.782 MB / 0.5606 GB, free: 38.37 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.4383, allocations: 1.68 MB / 0.5622 GB, free: 37.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.4392, allocations: 9.125 kB / 0.5622 GB, free: 37.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.4396, allocations: 123.9 kB / 0.5623 GB, free: 37.29 MB / 426.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.001517/0.4411, allocations: 0.5226 MB / 0.5628 GB, free: 36.95 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.4422, allocations: 394.1 kB / 0.5632 GB, free: 36.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.4436, allocations: 1.065 MB / 0.5643 GB, free: 36.19 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004032/0.444, allocations: 200.1 kB / 0.5645 GB, free: 36.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006899/0.4447, allocations: 406.4 kB / 0.5648 GB, free: 35.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.4454, allocations: 0.5205 MB / 0.5653 GB, free: 35.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.4456, allocations: 48.75 kB / 0.5654 GB, free: 35.7 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.4461, allocations: 171 kB / 0.5656 GB, free: 35.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.4463, allocations: 184.9 kB / 0.5657 GB, free: 35.56 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.4464, allocations: 176.6 kB / 0.5659 GB, free: 35.44 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.4474, allocations: 1.067 MB / 0.5669 GB, free: 35.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4475, allocations: 4 kB / 0.567 GB, free: 35.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4475, allocations: 0.8438 kB / 0.567 GB, free: 35.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.4475, allocations: 0 / 0.567 GB, free: 35.16 MB / 426.7 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.005697/0.4532, allocations: 1.721 MB / 0.5686 GB, free: 34.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4532, allocations: 8.938 kB / 0.5686 GB, free: 34.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.4566, allocations: 0.5287 MB / 0.5692 GB, free: 34.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.4578, allocations: 0.6504 MB / 0.5698 GB, free: 33.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.458, allocations: 151.2 kB / 0.5699 GB, free: 33.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.4581, allocations: 69.22 kB / 0.57 GB, free: 33.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4596, allocations: 0.818 MB / 0.5708 GB, free: 33.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4596, allocations: 3.984 kB / 0.5708 GB, free: 33.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.4597, allocations: 24.95 kB / 0.5708 GB, free: 33.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.4597, allocations: 12.88 kB / 0.5708 GB, free: 33.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.461, allocations: 0.7284 MB / 0.5716 GB, free: 33.01 MB / 426.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.004373/0.4654, allocations: 2.939 MB / 0.5744 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.4787, allocations: 3.914 MB / 0.5782 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.4798, allocations: 0.5158 MB / 0.5787 GB, free: 30.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.292e-05/0.4799, allocations: 13.7 kB / 0.5788 GB, free: 30.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.4799, allocations: 41.91 kB / 0.5788 GB, free: 30.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 2.465e-06/0.4799, allocations: 0 / 0.5788 GB, free: 30.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.0109/0.4908, allocations: 3.906 MB / 0.5826 GB, free: 29.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.4909, allocations: 87.23 kB / 0.5827 GB, free: 29.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.4919, allocations: 0.7745 MB / 0.5835 GB, free: 28.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.492, allocations: 40.48 kB / 0.5835 GB, free: 28.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.4922, allocations: 376.6 kB / 0.5839 GB, free: 28.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.4925, allocations: 239.2 kB / 0.5841 GB, free: 28.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.4925, allocations: 19.06 kB / 0.5841 GB, free: 28.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.4926, allocations: 340.9 kB / 0.5844 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.4936, allocations: 0.578 MB / 0.585 GB, free: 27.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.4947, allocations: 0.7026 MB / 0.5857 GB, free: 27.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.4958, allocations: 0.6298 MB / 0.5863 GB, free: 27.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4958, allocations: 7.891 kB / 0.5863 GB, free: 27.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007679/0.5035, allocations: 2.865 MB / 0.5891 GB, free: 26.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.113e-05/0.5036, allocations: 154.9 kB / 0.5892 GB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5036, allocations: 1.688 kB / 0.5892 GB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/0.5086, allocations: 1.265 MB / 0.5905 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.5097, allocations: 164.6 kB / 0.5906 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.5212, allocations: 5.389 MB / 0.5959 GB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.5229, allocations: 138.6 kB / 0.596 GB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.5231, allocations: 39.48 kB / 0.5961 GB, free: 23.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5231, allocations: 2.625 kB / 0.5961 GB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008285/0.5314, allocations: 2.737 MB / 0.5987 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.5315, allocations: 1.375 kB / 0.5987 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004859/0.5364, allocations: 1.262 MB / 0.6 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.5374, allocations: 165.6 kB / 0.6001 GB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.549, allocations: 5.384 MB / 0.6054 GB, free: 19.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.5504, allocations: 125.9 kB / 0.6055 GB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.5505, allocations: 33.39 kB / 0.6055 GB, free: 19.24 MB / 426.7 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.0005163/0.551, allocations: 313.1 kB / 0.6058 GB, free: 18.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.5512, allocations: 88.33 kB / 0.6059 GB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006852/0.5581, allocations: 2.393 MB / 0.6083 GB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5581, allocations: 6.328 kB / 0.6083 GB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.5581, allocations: 4.531 kB / 0.6083 GB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.5582, allocations: 3.609 kB / 0.6083 GB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00849/0.5667, allocations: 3.673 MB / 0.6119 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.5667, allocations: 0 / 0.6119 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/0.5673, allocations: 82.86 kB / 0.6119 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/0.5707, allocations: 1.087 MB / 0.613 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.895e-05/0.5708, allocations: 16.61 kB / 0.613 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007053/0.5779, allocations: 4.135 MB / 0.6171 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5779, allocations: 0 / 0.6171 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007224/0.5852, allocations: 3.056 MB / 0.62 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.5855, allocations: 187.8 kB / 0.6202 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5857, allocations: 12 kB / 0.6202 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/0.5865, allocations: 91.92 kB / 0.6203 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/0.5868, allocations: 124.4 kB / 0.6204 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.5869, allocations: 23.98 kB / 0.6205 GB, free: 7.406 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000609/0.5875, allocations: 0.5264 MB / 0.621 GB, free: 6.887 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5875, allocations: 0 / 0.621 GB, free: 6.887 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001477/0.589, allocations: 0.5228 MB / 0.6215 GB, free: 6.363 MB / 426.7 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.0002219/0.5892, allocations: 132 kB / 0.6216 GB, free: 6.227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00756/0.5968, allocations: 3.559 MB / 0.6251 GB, free: 2.562 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5968, allocations: 0 / 0.6251 GB, free: 2.562 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002929/0.5997, allocations: 1.256 MB / 0.6263 GB, free: 1.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009938/0.6008, allocations: 73.12 kB / 0.6264 GB, free: 1.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.6045, allocations: 2.136 MB / 0.6285 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.6052, allocations: 0.9796 MB / 0.6294 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005562/0.6057, allocations: 93.41 kB / 0.6295 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.606, allocations: 51.44 kB / 0.6296 GB, free: 13.86 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.606, allocations: 0 / 0.6296 GB, free: 13.86 MB / 442.7 MB Notification: Performance of Templates: time 0.0284/0.6344, allocations: 19.26 MB / 0.6484 GB, free: 10.63 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)