Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_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_dev_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.0009427/0.0009426, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 240 MB, free: 5.469 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.0009269/0.000927, allocations: 180.5 kB / 291.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6436/0.6436, allocations: 91.93 MB / 434.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003483, allocations: 11.98 kB / 0.5054 GB, free: 7.242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3068, allocations: 72.46 MB / 0.5762 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.003666/0.3105, allocations: 5.1 MB / 0.5812 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.3132, allocations: 1.757 MB / 0.5829 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.3136, allocations: 10.59 kB / 0.5829 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.3139, allocations: 130.7 kB / 0.583 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.3152, allocations: 0.5876 MB / 0.5836 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.316, allocations: 474.8 kB / 0.584 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008318/0.3168, allocations: 1.132 MB / 0.5851 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.3171, allocations: 209.8 kB / 0.5853 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.3175, allocations: 408.1 kB / 0.5857 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004765/0.318, allocations: 0.5368 MB / 0.5863 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.3181, allocations: 51.31 kB / 0.5863 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.3184, allocations: 176.6 kB / 0.5865 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3186, allocations: 183.9 kB / 0.5866 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.3189, allocations: 479.1 kB / 0.5871 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.3195, allocations: 1.074 MB / 0.5882 GB, free: 29.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3195, allocations: 0 / 0.5882 GB, free: 29.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3196, allocations: 0 / 0.5882 GB, free: 29.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3196, allocations: 0 / 0.5882 GB, free: 29.65 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.005049/0.3246, allocations: 1.712 MB / 0.5898 GB, free: 28.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3247, allocations: 8.75 kB / 0.5898 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.3281, allocations: 0.5267 MB / 0.5903 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009421/0.329, allocations: 0.6862 MB / 0.591 GB, free: 28.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.3292, allocations: 154.3 kB / 0.5912 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3293, allocations: 61.34 kB / 0.5912 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.3309, allocations: 0.8264 MB / 0.592 GB, free: 27.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3309, allocations: 0 / 0.592 GB, free: 27.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/0.331, allocations: 21 kB / 0.5921 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.331, allocations: 12.44 kB / 0.5921 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.3324, allocations: 0.7411 MB / 0.5928 GB, free: 27.49 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.004548/0.337, allocations: 2.94 MB / 0.5957 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/0.3513, allocations: 3.919 MB / 0.5995 GB, free: 25.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.3525, allocations: 0.5217 MB / 0.6 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.3526, allocations: 12.64 kB / 0.6 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3527, allocations: 45.98 kB / 0.6001 GB, free: 24.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.635e-06/0.3527, allocations: 0 / 0.6001 GB, free: 24.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01258/0.3653, allocations: 3.918 MB / 0.6039 GB, free: 23.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3653, allocations: 88.58 kB / 0.604 GB, free: 23.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.3667, allocations: 0.784 MB / 0.6047 GB, free: 23.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.3668, allocations: 36.45 kB / 0.6048 GB, free: 23.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.3671, allocations: 380.2 kB / 0.6051 GB, free: 22.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.3674, allocations: 240.3 kB / 0.6054 GB, free: 22.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.3676, allocations: 93.86 kB / 0.6054 GB, free: 22.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.3677, allocations: 352.1 kB / 0.6058 GB, free: 22.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.3689, allocations: 0.5858 MB / 0.6064 GB, free: 22.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.3703, allocations: 0.6983 MB / 0.607 GB, free: 21.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01977/0.39, allocations: 4.301 MB / 0.6112 GB, free: 20.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.3901, allocations: 0 / 0.6112 GB, free: 20.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00886/0.3989, allocations: 2.874 MB / 0.614 GB, free: 19.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.3991, allocations: 140.6 kB / 0.6142 GB, free: 19.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3991, allocations: 2.062 kB / 0.6142 GB, free: 19.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004818/0.4039, allocations: 1.201 MB / 0.6154 GB, free: 19.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.405, allocations: 172.8 kB / 0.6155 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.4157, allocations: 5.122 MB / 0.6205 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.4173, allocations: 151 kB / 0.6207 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.4175, allocations: 27.98 kB / 0.6207 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.4176, allocations: 6.344 kB / 0.6207 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007444/0.425, allocations: 2.735 MB / 0.6234 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.425, allocations: 4 kB / 0.6234 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004192/0.4292, allocations: 1.21 MB / 0.6246 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009166/0.4302, allocations: 159.8 kB / 0.6247 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009675/0.4399, allocations: 5.1 MB / 0.6297 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4412, allocations: 131.2 kB / 0.6298 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.4413, allocations: 35.98 kB / 0.6298 GB, free: 6.008 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.0005305/0.4419, allocations: 306.3 kB / 0.6301 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.4421, allocations: 82.97 kB / 0.6302 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006353/0.4484, allocations: 2.399 MB / 0.6326 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4485, allocations: 8 kB / 0.6326 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.4485, allocations: 7.938 kB / 0.6326 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.4485, allocations: 3.984 kB / 0.6326 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007981/0.4565, allocations: 3.678 MB / 0.6362 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.4565, allocations: 0 / 0.6362 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.4572, allocations: 83.89 kB / 0.6362 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003699/0.4609, allocations: 1.084 MB / 0.6373 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.194e-05/0.461, allocations: 12 kB / 0.6373 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008857/0.4698, allocations: 4.152 MB / 0.6414 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4699, allocations: 0 / 0.6414 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008372/0.4783, allocations: 3.068 MB / 0.6444 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.4786, allocations: 187.8 kB / 0.6445 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.4788, allocations: 16.38 kB / 0.6446 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/0.4798, allocations: 75.94 kB / 0.6446 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/0.4801, allocations: 128.4 kB / 0.6448 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.4802, allocations: 19.94 kB / 0.6448 GB, free: 6.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007419/0.481, allocations: 0.5419 MB / 0.6453 GB, free: 5.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.481, allocations: 0 / 0.6453 GB, free: 5.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001531/0.4825, allocations: 0.5189 MB / 0.6458 GB, free: 5.328 MB / 446.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.0002287/0.4827, allocations: 127.2 kB / 0.6459 GB, free: 5.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008747/0.4915, allocations: 3.535 MB / 0.6494 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4915, allocations: 448 / 0.6494 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003208/0.4947, allocations: 1.267 MB / 0.6506 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/0.4956, allocations: 69.98 kB / 0.6507 GB, free: 156 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.4993, allocations: 2.249 MB / 0.6529 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.4998, allocations: 0.9757 MB / 0.6538 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.5001, allocations: 55.44 kB / 0.6539 GB, free: 12.81 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5001, allocations: 4 kB / 0.6539 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Templates: time 0.02555/0.5257, allocations: 22.46 MB / 0.6758 GB, free: 6.336 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)