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.0008882/0.0008882, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.4/1.4, allocations: 223.3 MB / 239.4 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.001125/0.001125, allocations: 180.5 kB / 290.6 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.749/0.749, allocations: 78.55 MB / 420.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.000411, allocations: 12 kB / 0.4887 GB, free: 6.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1813, allocations: 69.36 MB / 0.5564 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.3482/0.5296, allocations: 5.072 MB / 0.5614 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.5342, allocations: 1.767 MB / 0.5631 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/0.535, allocations: 6.156 kB / 0.5631 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.5354, allocations: 126.4 kB / 0.5632 GB, free: 36.12 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.001658/0.5371, allocations: 0.5835 MB / 0.5638 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.5382, allocations: 465.3 kB / 0.5642 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.5394, allocations: 1.127 MB / 0.5653 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.5398, allocations: 218.9 kB / 0.5655 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005273/0.5403, allocations: 409.8 kB / 0.5659 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.5409, allocations: 0.5333 MB / 0.5664 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.52e-05/0.541, allocations: 50.94 kB / 0.5665 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.5414, allocations: 175.5 kB / 0.5667 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.5416, allocations: 186.8 kB / 0.5668 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003581/0.542, allocations: 475.6 kB / 0.5673 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.5431, allocations: 1.321 MB / 0.5686 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5431, allocations: 0 / 0.5686 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5431, allocations: 3.141 kB / 0.5686 GB, free: 34.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.5431, allocations: 0 / 0.5686 GB, free: 34.7 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.005219/0.5483, allocations: 1.709 MB / 0.5703 GB, free: 33.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.5484, allocations: 8.844 kB / 0.5703 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/0.5517, allocations: 0.5269 MB / 0.5708 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5528, allocations: 0.6872 MB / 0.5714 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.5529, allocations: 157 kB / 0.5716 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5531, allocations: 60.97 kB / 0.5717 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.5546, allocations: 0.8241 MB / 0.5725 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5546, allocations: 0 / 0.5725 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.5547, allocations: 24.98 kB / 0.5725 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5547, allocations: 11.91 kB / 0.5725 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.5561, allocations: 0.7408 MB / 0.5732 GB, free: 33.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.00477/0.5609, allocations: 2.939 MB / 0.5761 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/0.574, allocations: 3.922 MB / 0.5799 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.5752, allocations: 0.5311 MB / 0.5804 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.5753, allocations: 11.45 kB / 0.5804 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5754, allocations: 37.47 kB / 0.5805 GB, free: 32.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 3.977e-06/0.5754, allocations: 0.7031 kB / 0.5805 GB, free: 32.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01231/0.5877, allocations: 3.914 MB / 0.5843 GB, free: 31.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.5878, allocations: 87.97 kB / 0.5844 GB, free: 31.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.5893, allocations: 0.7807 MB / 0.5852 GB, free: 30.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.5895, allocations: 41.02 kB / 0.5852 GB, free: 30.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.5898, allocations: 384.1 kB / 0.5856 GB, free: 30.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.59, allocations: 237.6 kB / 0.5858 GB, free: 30.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.5902, allocations: 92.64 kB / 0.5859 GB, free: 30.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.5903, allocations: 347.8 kB / 0.5862 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.5915, allocations: 0.5906 MB / 0.5868 GB, free: 29.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.5929, allocations: 0.6953 MB / 0.5875 GB, free: 29.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01885/0.6117, allocations: 4.302 MB / 0.5917 GB, free: 28.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.6118, allocations: 0 / 0.5917 GB, free: 28.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009085/0.6209, allocations: 2.877 MB / 0.5945 GB, free: 27.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.6211, allocations: 143.1 kB / 0.5946 GB, free: 27.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.6211, allocations: 2.75 kB / 0.5946 GB, free: 27.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00529/0.6264, allocations: 1.195 MB / 0.5958 GB, free: 27.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.6275, allocations: 178 kB / 0.5959 GB, free: 27.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.6399, allocations: 5.111 MB / 0.6009 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.6417, allocations: 145.1 kB / 0.6011 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.642, allocations: 34.58 kB / 0.6011 GB, free: 24.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.642, allocations: 3.719 kB / 0.6011 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009052/0.6511, allocations: 2.733 MB / 0.6038 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.6511, allocations: 1.125 kB / 0.6038 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005032/0.6562, allocations: 1.205 MB / 0.605 GB, free: 23.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.6573, allocations: 171 kB / 0.6051 GB, free: 23.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.6696, allocations: 5.1 MB / 0.6101 GB, free: 20.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.6713, allocations: 128.8 kB / 0.6102 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/0.6716, allocations: 35.73 kB / 0.6103 GB, free: 20.54 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.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.000924/0.6725, allocations: 299.7 kB / 0.6105 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004216/0.6729, allocations: 88.19 kB / 0.6106 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007494/0.6804, allocations: 2.392 MB / 0.613 GB, free: 18.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.6805, allocations: 18.5 kB / 0.613 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/0.6805, allocations: 7.938 kB / 0.613 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.6805, allocations: 3.375 kB / 0.613 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009009/0.6896, allocations: 3.675 MB / 0.6166 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.6896, allocations: 4 kB / 0.6166 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.6902, allocations: 75.91 kB / 0.6167 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003315/0.6935, allocations: 1.089 MB / 0.6177 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/0.6936, allocations: 16.81 kB / 0.6177 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007855/0.7015, allocations: 4.144 MB / 0.6218 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7015, allocations: 0 / 0.6218 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007549/0.7091, allocations: 3.074 MB / 0.6248 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/0.7095, allocations: 187.8 kB / 0.625 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.7098, allocations: 12 kB / 0.625 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7109, allocations: 77.06 kB / 0.6251 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003749/0.7113, allocations: 130.2 kB / 0.6252 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/0.7113, allocations: 16 kB / 0.6252 GB, free: 6.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008039/0.7122, allocations: 0.5342 MB / 0.6257 GB, free: 6.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7122, allocations: 4 kB / 0.6257 GB, free: 6.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002152/0.7143, allocations: 0.515 MB / 0.6262 GB, free: 5.641 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 (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.0002887/0.7146, allocations: 127.2 kB / 0.6263 GB, free: 5.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008462/0.7231, allocations: 3.538 MB / 0.6298 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.7231, allocations: 0 / 0.6298 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002955/0.7261, allocations: 1.276 MB / 0.631 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.7275, allocations: 63.31 kB / 0.6311 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.732, allocations: 2.216 MB / 0.6333 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009133/0.7329, allocations: 0.9796 MB / 0.6342 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006665/0.7336, allocations: 86.08 kB / 0.6343 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.7339, allocations: 55.42 kB / 0.6344 GB, free: 13.12 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/0.7339, allocations: 0 / 0.6344 GB, free: 13.12 MB / 446.1 MB Notification: Performance of Templates: time 0.03592/0.7698, allocations: 18.18 MB / 0.6521 GB, free: 11.15 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: