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.0008227/0.0008229, allocations: 177.5 kB / 15.42 MB, free: 6.207 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.218/1.218, allocations: 222.9 MB / 239 MB, free: 1.809 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.0006884/0.0006885, allocations: 97.72 kB / 289.8 MB, free: 14.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4372/0.4372, allocations: 78.42 MB / 418.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003216, allocations: 15.98 kB / 498.4 MB, free: 3.863 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3197, allocations: 68.75 MB / 0.5539 GB, free: 39.79 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.00571/0.3254, allocations: 5.51 MB / 0.5593 GB, free: 37.97 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.3288, allocations: 1.79 MB / 0.561 GB, free: 37.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009142/0.3297, allocations: 8 kB / 0.561 GB, free: 37.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.3303, allocations: 127 kB / 0.5611 GB, free: 37.2 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.00192/0.3322, allocations: 0.5923 MB / 0.5617 GB, free: 36.94 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3333, allocations: 477.3 kB / 0.5622 GB, free: 36.84 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.3349, allocations: 1.129 MB / 0.5633 GB, free: 36.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.3352, allocations: 219.2 kB / 0.5635 GB, free: 36.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.336, allocations: 410.8 kB / 0.5639 GB, free: 36.4 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3371, allocations: 0.5354 MB / 0.5644 GB, free: 36.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3372, allocations: 48.41 kB / 0.5645 GB, free: 36.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/0.3377, allocations: 182.1 kB / 0.5646 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.3379, allocations: 183.6 kB / 0.5648 GB, free: 36.19 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.3384, allocations: 451.8 kB / 0.5652 GB, free: 36.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.3395, allocations: 1.322 MB / 0.5665 GB, free: 35.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3395, allocations: 1.188 kB / 0.5665 GB, free: 35.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3395, allocations: 3.938 kB / 0.5665 GB, free: 35.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3396, allocations: 0 / 0.5665 GB, free: 35.66 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.004639/0.3442, allocations: 1.671 MB / 0.5682 GB, free: 34.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3443, allocations: 12.66 kB / 0.5682 GB, free: 34.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.3473, allocations: 0.5155 MB / 0.5687 GB, free: 34.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007397/0.348, allocations: 0.6801 MB / 0.5693 GB, free: 34.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.3482, allocations: 153.7 kB / 0.5695 GB, free: 34.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.3483, allocations: 61.62 kB / 0.5695 GB, free: 34.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.3495, allocations: 0.7824 MB / 0.5703 GB, free: 33.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3495, allocations: 6.844 kB / 0.5703 GB, free: 33.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.3496, allocations: 18.84 kB / 0.5703 GB, free: 33.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3496, allocations: 15.81 kB / 0.5704 GB, free: 33.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.3507, allocations: 0.6889 MB / 0.571 GB, free: 33.49 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.003985/0.3547, allocations: 2.89 MB / 0.5738 GB, free: 31.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.3658, allocations: 2.928 MB / 0.5767 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007482/0.3665, allocations: 494.5 kB / 0.5772 GB, free: 31.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.3666, allocations: 12.39 kB / 0.5772 GB, free: 31.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.3666, allocations: 37.84 kB / 0.5772 GB, free: 31.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 2.254e-06/0.3666, allocations: 0 / 0.5772 GB, free: 31.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.00961/0.3763, allocations: 3.294 MB / 0.5804 GB, free: 30 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.3763, allocations: 89.8 kB / 0.5805 GB, free: 29.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/0.3772, allocations: 0.7829 MB / 0.5813 GB, free: 29.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.3772, allocations: 40.27 kB / 0.5813 GB, free: 29.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3774, allocations: 377.7 kB / 0.5817 GB, free: 29.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.3776, allocations: 234 kB / 0.5819 GB, free: 29.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3777, allocations: 92.33 kB / 0.582 GB, free: 28.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.3778, allocations: 353.2 kB / 0.5823 GB, free: 28.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/0.3787, allocations: 0.5427 MB / 0.5829 GB, free: 28.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009343/0.3796, allocations: 0.6617 MB / 0.5835 GB, free: 28.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/0.3958, allocations: 4.031 MB / 0.5875 GB, free: 27.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3958, allocations: 1.156 kB / 0.5875 GB, free: 27.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006717/0.4025, allocations: 2.512 MB / 0.5899 GB, free: 26.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.4026, allocations: 146.3 kB / 0.59 GB, free: 26.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4026, allocations: 4.375 kB / 0.59 GB, free: 26.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/0.4065, allocations: 1.039 MB / 0.5911 GB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.4073, allocations: 175.6 kB / 0.5912 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00886/0.4162, allocations: 4.711 MB / 0.5958 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.4174, allocations: 126 kB / 0.596 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.4175, allocations: 39.39 kB / 0.596 GB, free: 23.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.4175, allocations: 4.25 kB / 0.596 GB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006947/0.4245, allocations: 2.379 MB / 0.5983 GB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4245, allocations: 6.094 kB / 0.5983 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/0.4285, allocations: 1.05 MB / 0.5993 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/0.4295, allocations: 167.1 kB / 0.5995 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009417/0.4389, allocations: 4.707 MB / 0.6041 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.4403, allocations: 104.5 kB / 0.6042 GB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/0.4404, allocations: 33.53 kB / 0.6042 GB, free: 19.49 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.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005375/0.4409, allocations: 307.6 kB / 0.6045 GB, free: 19.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.4411, allocations: 83.5 kB / 0.6046 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/0.4469, allocations: 2.045 MB / 0.6066 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4469, allocations: 9.625 kB / 0.6066 GB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.447, allocations: 8.281 kB / 0.6066 GB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.447, allocations: 1.031 kB / 0.6066 GB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/0.4542, allocations: 3.315 MB / 0.6099 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4543, allocations: 1.125 kB / 0.6099 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.4548, allocations: 81.77 kB / 0.6099 GB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/0.4578, allocations: 0.9371 MB / 0.6109 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.4579, allocations: 16.06 kB / 0.6109 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006672/0.4646, allocations: 3.791 MB / 0.6146 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4646, allocations: 4 kB / 0.6146 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/0.4709, allocations: 2.673 MB / 0.6172 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.4712, allocations: 183.8 kB / 0.6174 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.4714, allocations: 16 kB / 0.6174 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.4722, allocations: 55.94 kB / 0.6174 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.4725, allocations: 128.4 kB / 0.6176 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.4726, allocations: 16.38 kB / 0.6176 GB, free: 9.617 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006218/0.4732, allocations: 0.5342 MB / 0.6181 GB, free: 9.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4732, allocations: 4 kB / 0.6181 GB, free: 9.086 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001534/0.4748, allocations: 0.5111 MB / 0.6186 GB, free: 8.574 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002084/0.475, allocations: 135.1 kB / 0.6187 GB, free: 8.434 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006911/0.4819, allocations: 3.231 MB / 0.6219 GB, free: 5.094 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4819, allocations: 0 / 0.6219 GB, free: 5.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.4843, allocations: 1.135 MB / 0.623 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.4852, allocations: 75.23 kB / 0.6231 GB, free: 3.828 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.4883, allocations: 2.071 MB / 0.6251 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4887, allocations: 0.9796 MB / 0.626 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005075/0.4892, allocations: 89.41 kB / 0.6261 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.4894, allocations: 47.44 kB / 0.6262 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4894, allocations: 0 / 0.6262 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of Templates: time 0.02685/0.5163, allocations: 18.18 MB / 0.6439 GB, free: 14.46 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)