Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000781/0.0007809, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.546/1.546, allocations: 223.3 MB / 239.4 MB, free: 5.402 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.001327/0.001327, allocations: 172.5 kB / 290.6 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5537/0.5537, allocations: 91.93 MB / 433.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004464, allocations: 8.281 kB / 0.5047 GB, free: 7.277 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.439, allocations: 72.47 MB / 0.5755 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01513/0.4542, allocations: 22.6 MB / 0.5976 GB, free: 20.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.4681, allocations: 5.143 MB / 0.6026 GB, free: 16.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00698/0.4751, allocations: 54.88 kB / 0.6027 GB, free: 16.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.4789, allocations: 0.6721 MB / 0.6033 GB, free: 16.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.4892, allocations: 1.743 MB / 0.605 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006637/0.4958, allocations: 1.907 MB / 0.6069 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.5071, allocations: 5.484 MB / 0.6122 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/0.5105, allocations: 1.139 MB / 0.6134 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.5157, allocations: 2.073 MB / 0.6154 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006243/0.522, allocations: 2.717 MB / 0.618 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002574/0.5246, allocations: 237.4 kB / 0.6183 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.5285, allocations: 382.8 kB / 0.6186 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002885/0.5314, allocations: 0.9418 MB / 0.6195 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007796/0.5392, allocations: 2.406 MB / 0.6219 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.5517, allocations: 5.879 MB / 0.6276 GB, free: 4.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5518, allocations: 1.422 kB / 0.6276 GB, free: 4.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5518, allocations: 0 / 0.6276 GB, free: 4.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003693/0.5522, allocations: 1.656 kB / 0.6276 GB, free: 4.109 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03503/0.5872, allocations: 8.474 MB / 0.6359 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5873, allocations: 12.03 kB / 0.6359 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02824/0.6155, allocations: 4.048 MB / 0.6399 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008035/0.6236, allocations: 2.678 MB / 0.6425 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001232/0.6249, allocations: 0.9924 MB / 0.6435 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/0.6266, allocations: 352 kB / 0.6438 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.6399, allocations: 5 MB / 0.6487 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.987e-05/0.64, allocations: 3.938 kB / 0.6487 GB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004758/0.6405, allocations: 140 kB / 0.6488 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.288e-05/0.6406, allocations: 84 kB / 0.6489 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.652, allocations: 4.513 MB / 0.6533 GB, free: 13.77 MB / 462.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.04455/0.6966, allocations: 18.87 MB / 0.6717 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/0.7113, allocations: 5.759 MB / 0.6774 GB, free: 3.879 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007766/0.7192, allocations: 3.055 MB / 0.6803 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008588/0.7201, allocations: 70.92 kB / 0.6804 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009275/0.7294, allocations: 3.443 MB / 0.6838 GB, free: 13.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 9.899e-06/0.7294, allocations: 4 kB / 0.6838 GB, free: 13.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3348/1.064, allocations: 81.51 MB / 0.7634 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.064, allocations: 141.8 kB / 0.7635 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00731/1.072, allocations: 3.258 MB / 0.7667 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001415/1.073, allocations: 93.69 kB / 0.7668 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.075, allocations: 1.971 MB / 0.7687 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002932/1.078, allocations: 1.321 MB / 0.77 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/1.08, allocations: 346.8 kB / 0.7703 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.08, allocations: 305.1 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007341/1.087, allocations: 2.862 MB / 0.7734 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.312/1.399, allocations: 3.497 MB / 0.7768 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07615/1.475, allocations: 20.89 MB / 0.7972 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/1.475, allocations: 4.219 kB / 0.7972 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.0644/1.54, allocations: 21.09 MB / 0.8178 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-05/1.54, allocations: 64.03 kB / 0.8179 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.425e-05/1.54, allocations: 16 kB / 0.8179 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0267/1.567, allocations: 8.488 MB / 0.8262 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/1.57, allocations: 0.6914 MB / 0.8269 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0788/1.649, allocations: 34.9 MB / 0.861 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0076/1.657, allocations: 0.7621 MB / 0.8617 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008966/1.658, allocations: 160 kB / 0.8618 GB, free: 110 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002499/1.66, allocations: 0.6692 MB / 0.8625 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.662, allocations: 455.1 kB / 0.8629 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05789/1.719, allocations: 20.68 MB / 0.8831 GB, free: 88.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/1.72, allocations: 42.69 kB / 0.8832 GB, free: 88.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-05/1.72, allocations: 28 kB / 0.8832 GB, free: 88.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/1.72, allocations: 23.92 kB / 0.8832 GB, free: 88.07 MB / 0.5606 GB 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 postOpt removeSimpleEquations (simulation): time 0.08759/1.807, allocations: 25.68 MB / 0.9083 GB, free: 62.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.437e-05/1.807, allocations: 8.031 kB / 0.9083 GB, free: 62.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003557/1.811, allocations: 391.5 kB / 0.9087 GB, free: 61.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02778/1.839, allocations: 8.704 MB / 0.9172 GB, free: 53.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/1.84, allocations: 75.98 kB / 0.9172 GB, free: 53.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07288/1.913, allocations: 32.68 MB / 0.9492 GB, free: 20.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.913, allocations: 4 kB / 0.9492 GB, free: 20.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06375/1.977, allocations: 24.3 MB / 0.9729 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/1.979, allocations: 0.5648 MB / 0.9735 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/1.981, allocations: 60 kB / 0.9735 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00511/1.986, allocations: 0.5074 MB / 0.974 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003218/1.989, allocations: 0.7763 MB / 0.9748 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/1.989, allocations: 96.05 kB / 0.9749 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003403/1.993, allocations: 2.137 MB / 0.9769 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.993, allocations: 0 / 0.9769 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006417/1.999, allocations: 1.809 MB / 0.9787 GB, free: 5.836 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006408/2, allocations: 194.9 kB / 0.9789 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02915/2.029, allocations: 10.34 MB / 0.989 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/2.029, allocations: 0 / 0.989 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02301/2.052, allocations: 7.093 MB / 0.9959 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/2.057, allocations: 395.8 kB / 0.9963 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3453/2.403, allocations: 9.928 MB / 1.006 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/2.405, allocations: 2.456 MB / 1.008 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001997/2.407, allocations: 376.4 kB / 1.009 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008721/2.407, allocations: 235.1 kB / 1.009 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/2.407, allocations: 0 / 1.009 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1434/2.551, allocations: 80.68 MB / 1.088 GB, free: 132.1 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)