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.0007869/0.000787, allocations: 177.2 kB / 15.45 MB, free: 6.23 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.174/1.174, allocations: 223.3 MB / 239.5 MB, free: 1.57 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.0007399/0.00074, allocations: 104.4 kB / 290.7 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4058/0.4058, allocations: 78.61 MB / 420.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 16 kB / 0.4888 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2718, allocations: 69.34 MB / 0.5565 GB, free: 38.99 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.004031/0.2759, allocations: 5.082 MB / 0.5615 GB, free: 37.05 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.2788, allocations: 1.757 MB / 0.5632 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006861/0.2795, allocations: 7.469 kB / 0.5632 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.2799, allocations: 132.5 kB / 0.5633 GB, free: 36.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.001592/0.2815, allocations: 0.5828 MB / 0.5639 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009635/0.2825, allocations: 469.3 kB / 0.5643 GB, free: 35.94 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.2837, allocations: 1.134 MB / 0.5654 GB, free: 35.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.284, allocations: 214.7 kB / 0.5656 GB, free: 35.56 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003946/0.2844, allocations: 410.1 kB / 0.566 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.2849, allocations: 0.5359 MB / 0.5666 GB, free: 35.14 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.285, allocations: 48.81 kB / 0.5666 GB, free: 35.14 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.2853, allocations: 176.3 kB / 0.5668 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2855, allocations: 183.5 kB / 0.567 GB, free: 35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.2858, allocations: 481 kB / 0.5674 GB, free: 34.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008339/0.2866, allocations: 1.317 MB / 0.5687 GB, free: 34.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2866, allocations: 4.969 kB / 0.5687 GB, free: 34.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2866, allocations: 4 kB / 0.5687 GB, free: 34.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.2866, allocations: 0 / 0.5687 GB, free: 34.23 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.004225/0.2909, allocations: 1.709 MB / 0.5704 GB, free: 33.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.2909, allocations: 15.09 kB / 0.5704 GB, free: 33.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.2938, allocations: 0.5235 MB / 0.5709 GB, free: 33.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/0.2945, allocations: 0.6826 MB / 0.5716 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.2946, allocations: 159.7 kB / 0.5717 GB, free: 32.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.511e-05/0.2947, allocations: 66.42 kB / 0.5718 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.2959, allocations: 0.8258 MB / 0.5726 GB, free: 32.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.296, allocations: 0 / 0.5726 GB, free: 32.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.296, allocations: 21.81 kB / 0.5726 GB, free: 32.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.296, allocations: 11.75 kB / 0.5726 GB, free: 32.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.2972, allocations: 0.7353 MB / 0.5733 GB, free: 32.05 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.003746/0.301, allocations: 2.946 MB / 0.5762 GB, free: 30.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.3121, allocations: 3.919 MB / 0.58 GB, free: 29.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/0.3129, allocations: 0.5244 MB / 0.5806 GB, free: 29.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.3129, allocations: 16.92 kB / 0.5806 GB, free: 29.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.313, allocations: 37.97 kB / 0.5806 GB, free: 29.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 1.724e-06/0.313, allocations: 4 kB / 0.5806 GB, free: 29.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.009488/0.3225, allocations: 3.915 MB / 0.5844 GB, free: 28.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.3225, allocations: 85.95 kB / 0.5845 GB, free: 28.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/0.3233, allocations: 0.7817 MB / 0.5853 GB, free: 27.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.3233, allocations: 40.42 kB / 0.5853 GB, free: 27.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.3235, allocations: 379.1 kB / 0.5857 GB, free: 27.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.3237, allocations: 238.2 kB / 0.5859 GB, free: 27.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3238, allocations: 94.95 kB / 0.586 GB, free: 27.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.3238, allocations: 346.8 kB / 0.5863 GB, free: 27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009312/0.3248, allocations: 0.5813 MB / 0.5869 GB, free: 26.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.3257, allocations: 0.7031 MB / 0.5876 GB, free: 26.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/0.3414, allocations: 4.303 MB / 0.5918 GB, free: 25.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3414, allocations: 1.188 kB / 0.5918 GB, free: 25.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006809/0.3482, allocations: 2.871 MB / 0.5946 GB, free: 24.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.3482, allocations: 147.1 kB / 0.5947 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3483, allocations: 1.719 kB / 0.5947 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003796/0.3521, allocations: 1.201 MB / 0.5959 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.3528, allocations: 167 kB / 0.5961 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009027/0.3619, allocations: 5.109 MB / 0.6011 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/0.3628, allocations: 145.4 kB / 0.6012 GB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.3629, allocations: 35.73 kB / 0.6012 GB, free: 21.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.3629, allocations: 3.875 kB / 0.6012 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006951/0.3699, allocations: 2.735 MB / 0.6039 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3699, allocations: 1.188 kB / 0.6039 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003941/0.3739, allocations: 1.2 MB / 0.6051 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.3746, allocations: 169.6 kB / 0.6052 GB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009182/0.3838, allocations: 5.101 MB / 0.6102 GB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.3847, allocations: 126.4 kB / 0.6103 GB, free: 17.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.3848, allocations: 34.14 kB / 0.6104 GB, free: 17.57 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.000387/0.3851, allocations: 312.5 kB / 0.6107 GB, free: 17.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3853, allocations: 83.77 kB / 0.6107 GB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005587/0.3909, allocations: 2.4 MB / 0.6131 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3909, allocations: 8 kB / 0.6131 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3909, allocations: 12.72 kB / 0.6131 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3909, allocations: 3.141 kB / 0.6131 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006778/0.3977, allocations: 3.675 MB / 0.6167 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3977, allocations: 3.984 kB / 0.6167 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.3982, allocations: 79.91 kB / 0.6168 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.401, allocations: 1.093 MB / 0.6178 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.4011, allocations: 12 kB / 0.6179 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006422/0.4075, allocations: 4.144 MB / 0.6219 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4075, allocations: 3.984 kB / 0.6219 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/0.4136, allocations: 3.06 MB / 0.6249 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.4138, allocations: 187.8 kB / 0.6251 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.4139, allocations: 16 kB / 0.6251 GB, free: 3.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/0.4146, allocations: 83.94 kB / 0.6252 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.4149, allocations: 128.3 kB / 0.6253 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.415, allocations: 16 kB / 0.6253 GB, free: 2.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005326/0.4155, allocations: 0.5304 MB / 0.6258 GB, free: 2.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4155, allocations: 3.938 kB / 0.6258 GB, free: 2.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001123/0.4166, allocations: 0.5228 MB / 0.6263 GB, free: 1.754 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.0001749/0.4168, allocations: 128.9 kB / 0.6265 GB, free: 1.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007056/0.4239, allocations: 3.528 MB / 0.6299 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4239, allocations: 0 / 0.6299 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.4265, allocations: 1.283 MB / 0.6312 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.4271, allocations: 68.02 kB / 0.6312 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.4302, allocations: 2.212 MB / 0.6334 GB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.4306, allocations: 0.9757 MB / 0.6343 GB, free: 9.336 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.4311, allocations: 97.34 kB / 0.6344 GB, free: 9.238 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.4313, allocations: 55.42 kB / 0.6345 GB, free: 9.184 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4313, allocations: 0 / 0.6345 GB, free: 9.184 MB / 442.7 MB Notification: Performance of Templates: time 0.02484/0.4561, allocations: 18.17 MB / 0.6522 GB, free: 7.059 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)