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.001192/0.001192, allocations: 100 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.406/1.406, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001093/0.001093, allocations: 181.1 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5255/0.5255, allocations: 78.53 MB / 419.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12 kB / 499.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 69.36 MB / 0.5557 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.2368/0.3768, allocations: 4.552 MB / 0.5601 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.3795, allocations: 1.698 MB / 0.5618 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004087/0.3799, allocations: 6.438 kB / 0.5618 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.3802, allocations: 122.8 kB / 0.5619 GB, free: 37.13 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.00126/0.3815, allocations: 0.5654 MB / 0.5625 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.3823, allocations: 393.5 kB / 0.5628 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008974/0.3832, allocations: 0.724 MB / 0.5635 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.3835, allocations: 189 kB / 0.5637 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.3839, allocations: 404 kB / 0.5641 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.3844, allocations: 0.5026 MB / 0.5646 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.373e-05/0.3845, allocations: 49.56 kB / 0.5646 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.3849, allocations: 163 kB / 0.5648 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.385, allocations: 177.5 kB / 0.565 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3851, allocations: 180.4 kB / 0.5651 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007486/0.3859, allocations: 1.051 MB / 0.5662 GB, free: 36.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3859, allocations: 0.8438 kB / 0.5662 GB, free: 36.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3859, allocations: 0 / 0.5662 GB, free: 36.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3859, allocations: 0.5312 kB / 0.5662 GB, free: 36.62 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.004885/0.3908, allocations: 1.718 MB / 0.5678 GB, free: 35.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3909, allocations: 9.969 kB / 0.5679 GB, free: 35.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.3943, allocations: 0.5312 MB / 0.5684 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.3956, allocations: 0.646 MB / 0.569 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.3959, allocations: 153.4 kB / 0.5691 GB, free: 35.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.3961, allocations: 65.56 kB / 0.5692 GB, free: 35.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.398, allocations: 0.8232 MB / 0.57 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.3981, allocations: 4.516 kB / 0.57 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/0.3982, allocations: 26.12 kB / 0.57 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.3982, allocations: 11.81 kB / 0.5701 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.3997, allocations: 0.7251 MB / 0.5708 GB, free: 35.4 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.005025/0.4048, allocations: 3.038 MB / 0.5737 GB, free: 34.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.4177, allocations: 3.923 MB / 0.5776 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-05/0.4178, allocations: 16.55 kB / 0.5776 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4179, allocations: 42.05 kB / 0.5776 GB, free: 33.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 3.146e-06/0.4179, allocations: 0 / 0.5776 GB, free: 33.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01158/0.4295, allocations: 3.895 MB / 0.5814 GB, free: 32.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.4295, allocations: 88.64 kB / 0.5815 GB, free: 32.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.4306, allocations: 0.776 MB / 0.5823 GB, free: 32.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.4307, allocations: 43.98 kB / 0.5823 GB, free: 31.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.4309, allocations: 377.9 kB / 0.5827 GB, free: 31.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.4312, allocations: 234.4 kB / 0.5829 GB, free: 31.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.4312, allocations: 20.41 kB / 0.5829 GB, free: 31.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.4313, allocations: 347.2 kB / 0.5832 GB, free: 31.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4324, allocations: 0.58 MB / 0.5838 GB, free: 30.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.4336, allocations: 0.6916 MB / 0.5845 GB, free: 30.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.4348, allocations: 0.6311 MB / 0.5851 GB, free: 30.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4348, allocations: 1.156 kB / 0.5851 GB, free: 30.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007902/0.4427, allocations: 2.872 MB / 0.5879 GB, free: 29.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.4429, allocations: 0.7089 MB / 0.5886 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4429, allocations: 2.906 kB / 0.5886 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/0.4478, allocations: 1.264 MB / 0.5898 GB, free: 28.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009537/0.4488, allocations: 170.6 kB / 0.59 GB, free: 28.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.4602, allocations: 5.599 MB / 0.5955 GB, free: 25.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.4617, allocations: 140.5 kB / 0.5956 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.4619, allocations: 39.09 kB / 0.5956 GB, free: 25.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4619, allocations: 3.469 kB / 0.5956 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008222/0.4701, allocations: 2.735 MB / 0.5983 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4702, allocations: 6.031 kB / 0.5983 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005001/0.4752, allocations: 1.259 MB / 0.5995 GB, free: 24.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.4762, allocations: 160.5 kB / 0.5997 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.4879, allocations: 5.601 MB / 0.6052 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4893, allocations: 126 kB / 0.6053 GB, free: 21.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4894, allocations: 36.61 kB / 0.6053 GB, free: 21.71 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.0005376/0.4899, allocations: 305.5 kB / 0.6056 GB, free: 21.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.4901, allocations: 87.88 kB / 0.6057 GB, free: 21.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007173/0.4973, allocations: 2.392 MB / 0.608 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4973, allocations: 7.156 kB / 0.608 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4974, allocations: 7.922 kB / 0.608 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.4974, allocations: 4.422 kB / 0.6081 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008641/0.506, allocations: 3.666 MB / 0.6116 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5061, allocations: 1.766 kB / 0.6116 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.5067, allocations: 90.77 kB / 0.6117 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/0.5102, allocations: 1.086 MB / 0.6128 GB, free: 18.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.5103, allocations: 17.5 kB / 0.6128 GB, free: 18.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007845/0.5182, allocations: 4.312 MB / 0.617 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5182, allocations: 0 / 0.617 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/0.5251, allocations: 3.091 MB / 0.62 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.5255, allocations: 179.8 kB / 0.6202 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.5256, allocations: 23.98 kB / 0.6202 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.5265, allocations: 75.94 kB / 0.6203 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/0.5268, allocations: 124.3 kB / 0.6204 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.5269, allocations: 16.5 kB / 0.6204 GB, free: 10.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006049/0.5275, allocations: 0.5302 MB / 0.6209 GB, free: 10.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5275, allocations: 4 kB / 0.6209 GB, free: 10.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001531/0.529, allocations: 0.5228 MB / 0.6215 GB, free: 9.895 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.0002298/0.5293, allocations: 132.1 kB / 0.6216 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007963/0.5372, allocations: 3.564 MB / 0.6251 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.5373, allocations: 0 / 0.6251 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002954/0.5402, allocations: 1.253 MB / 0.6263 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008377/0.5411, allocations: 63.3 kB / 0.6264 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.5447, allocations: 2.142 MB / 0.6284 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.5453, allocations: 0.9952 MB / 0.6294 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005386/0.5458, allocations: 89.17 kB / 0.6295 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.5461, allocations: 51.42 kB / 0.6295 GB, free: 1.438 MB / 430.1 MB Notification: Performance of SimCode: time 1.774e-06/0.5461, allocations: 4 kB / 0.6296 GB, free: 1.434 MB / 430.1 MB Notification: Performance of Templates: time 0.02994/0.576, allocations: 19.24 MB / 0.6483 GB, free: 14.41 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: