Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.621 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.001712/0.001712, allocations: 200.3 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5428/0.5428, allocations: 91.89 MB / 432.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 79.88 kB / 0.5025 GB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4305, allocations: 71.26 MB / 0.5721 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01711/0.4477, allocations: 21.83 MB / 0.5934 GB, free: 21.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.4599, allocations: 4.865 MB / 0.5982 GB, free: 18.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005684/0.4656, allocations: 42.69 kB / 0.5982 GB, free: 18.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003711/0.4694, allocations: 0.8791 MB / 0.5991 GB, free: 17.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.4812, allocations: 2.04 MB / 0.6011 GB, free: 16.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007461/0.4887, allocations: 2.064 MB / 0.6031 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.4995, allocations: 5.671 MB / 0.6086 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003737/0.5033, allocations: 1.315 MB / 0.6099 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005538/0.5088, allocations: 2.319 MB / 0.6122 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006166/0.515, allocations: 2.933 MB / 0.615 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00278/0.5178, allocations: 435.1 kB / 0.6155 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004668/0.5225, allocations: 0.5829 MB / 0.616 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003139/0.5257, allocations: 1.145 MB / 0.6171 GB, free: 7.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007395/0.5331, allocations: 2.607 MB / 0.6197 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.5464, allocations: 6.152 MB / 0.6257 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5464, allocations: 0 / 0.6257 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5464, allocations: 3.938 kB / 0.6257 GB, free: 3.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003645/0.5468, allocations: 5.281 kB / 0.6257 GB, free: 3.312 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.04022/0.587, allocations: 9.15 MB / 0.6346 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.5871, allocations: 15.97 kB / 0.6347 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02773/0.6148, allocations: 4.009 MB / 0.6386 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008558/0.6235, allocations: 2.651 MB / 0.6412 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/0.6248, allocations: 0.9534 MB / 0.6421 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/0.6271, allocations: 348 kB / 0.6424 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.6466, allocations: 4.723 MB / 0.647 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/0.6468, allocations: 7.875 kB / 0.647 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001686/0.6485, allocations: 136 kB / 0.6472 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.708e-05/0.6486, allocations: 84 kB / 0.6473 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.6614, allocations: 4.244 MB / 0.6514 GB, free: 13.05 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.04697/0.7084, allocations: 18.36 MB / 0.6693 GB, free: 9.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/0.7223, allocations: 5.004 MB / 0.6742 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006856/0.7292, allocations: 2.783 MB / 0.6769 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008376/0.73, allocations: 70.91 kB / 0.677 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008377/0.7384, allocations: 3.173 MB / 0.6801 GB, free: 14.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=383): time 1.116e-05/0.7385, allocations: 0 / 0.6801 GB, free: 14.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=383): time 0.313/1.051, allocations: 68.04 MB / 0.7465 GB, free: 10.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/1.052, allocations: 145.8 kB / 0.7467 GB, free: 9.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007366/1.059, allocations: 3.214 MB / 0.7498 GB, free: 6.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001424/1.06, allocations: 93.7 kB / 0.7499 GB, free: 6.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.062, allocations: 1.97 MB / 0.7518 GB, free: 4.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002929/1.065, allocations: 1.309 MB / 0.7531 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00386/1.069, allocations: 0.6743 MB / 0.7538 GB, free: 2.617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.069, allocations: 301.1 kB / 0.7541 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006567/1.076, allocations: 2.589 MB / 0.7566 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007045/1.083, allocations: 3.209 MB / 0.7597 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4515/1.535, allocations: 18.85 MB / 0.7781 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.647e-05/1.535, allocations: 2.719 kB / 0.7781 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06264/1.597, allocations: 17.25 MB / 0.795 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.13e-05/1.597, allocations: 69.34 kB / 0.795 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/1.597, allocations: 13.75 kB / 0.7951 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0273/1.625, allocations: 7.169 MB / 0.8021 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/1.629, allocations: 0.6691 MB / 0.8027 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08323/1.712, allocations: 33.33 MB / 0.8353 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007188/1.719, allocations: 0.6147 MB / 0.8359 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.72, allocations: 156 kB / 0.836 GB, free: 133 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (403): * Single equations (assignments): 400 * 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.00258/1.723, allocations: 0.6694 MB / 0.8367 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/1.725, allocations: 458.3 kB / 0.8371 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05351/1.778, allocations: 16.84 MB / 0.8535 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/1.778, allocations: 40 kB / 0.8536 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.584e-05/1.778, allocations: 28 kB / 0.8536 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001225/1.778, allocations: 19.92 kB / 0.8536 GB, free: 114.8 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.06318/1.842, allocations: 21.85 MB / 0.875 GB, free: 92.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/1.842, allocations: 3.828 kB / 0.875 GB, free: 92.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/1.844, allocations: 391.5 kB / 0.8753 GB, free: 92.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02564/1.87, allocations: 7.358 MB / 0.8825 GB, free: 85.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001456/1.871, allocations: 67.98 kB / 0.8826 GB, free: 85.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07863/1.95, allocations: 31.84 MB / 0.9137 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.95, allocations: 4 kB / 0.9137 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06152/2.012, allocations: 20.2 MB / 0.9334 GB, free: 32.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/2.014, allocations: 0.5638 MB / 0.934 GB, free: 32.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/2.016, allocations: 64 kB / 0.934 GB, free: 32.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005644/2.021, allocations: 383.5 kB / 0.9344 GB, free: 31.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003392/2.025, allocations: 0.7805 MB / 0.9352 GB, free: 30.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005996/2.025, allocations: 95.97 kB / 0.9352 GB, free: 30.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003272/2.028, allocations: 2.105 MB / 0.9373 GB, free: 28.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/2.029, allocations: 0 / 0.9373 GB, free: 28.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007486/2.036, allocations: 1.794 MB / 0.9391 GB, free: 26.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,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.0009296/2.037, allocations: 194.6 kB / 0.9392 GB, free: 26.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03142/2.068, allocations: 9.287 MB / 0.9483 GB, free: 17.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/2.068, allocations: 7.875 kB / 0.9483 GB, free: 17.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01896/2.087, allocations: 6.141 MB / 0.9543 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/2.091, allocations: 381.8 kB / 0.9547 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/2.105, allocations: 8.04 MB / 0.9625 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/2.106, allocations: 2.443 MB / 0.9649 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/2.108, allocations: 271.4 kB / 0.9652 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/2.108, allocations: 0 / 0.9652 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of Templates: time 0.4316/2.539, allocations: 87.97 MB / 1.051 GB, free: 158.8 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)