Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 102.4 kB / 16.29 MB, free: 6.43 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.001411/0.001411, allocations: 200.4 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4461/0.4461, allocations: 78.52 MB / 418.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 79.88 kB / 498.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1306, allocations: 68.18 MB / 0.5531 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2393/0.37, allocations: 6.65 MB / 0.5596 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004612/0.3746, allocations: 1.985 MB / 0.5615 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009004/0.3756, allocations: 10.34 kB / 0.5615 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.3766, allocations: 238.4 kB / 0.5617 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.379, allocations: 0.8128 MB / 0.5625 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3803, allocations: 0.6355 MB / 0.5631 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.3819, allocations: 1.625 MB / 0.5647 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.3823, allocations: 329.5 kB / 0.565 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000695/0.383, allocations: 0.6678 MB / 0.5657 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007741/0.3838, allocations: 0.8604 MB / 0.5665 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.384, allocations: 128.1 kB / 0.5667 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.3845, allocations: 276.8 kB / 0.5669 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.3848, allocations: 340 kB / 0.5672 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.3853, allocations: 0.6866 MB / 0.5679 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.3866, allocations: 1.717 MB / 0.5696 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3866, allocations: 0 / 0.5696 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3866, allocations: 1.469 kB / 0.5696 GB, free: 33.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3866, allocations: 0 / 0.5696 GB, free: 33.66 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008316/0.395, allocations: 2.756 MB / 0.5723 GB, free: 32.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.395, allocations: 10.31 kB / 0.5723 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/0.3998, allocations: 0.776 MB / 0.5731 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.4012, allocations: 0.9099 MB / 0.5739 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.4014, allocations: 261.2 kB / 0.5742 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.4016, allocations: 90.2 kB / 0.5743 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.4036, allocations: 1.096 MB / 0.5754 GB, free: 31.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4036, allocations: 5.5 kB / 0.5754 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/0.4037, allocations: 31.22 kB / 0.5754 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4037, allocations: 18.44 kB / 0.5754 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.4055, allocations: 1.001 MB / 0.5764 GB, free: 31.88 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.006087/0.4116, allocations: 3.857 MB / 0.5801 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006885/0.4185, allocations: 2.377 MB / 0.5825 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.4199, allocations: 0.6868 MB / 0.5831 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.42, allocations: 22.55 kB / 0.5832 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/0.4214, allocations: 0.8317 MB / 0.584 GB, free: 28.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.055e-06/0.4214, allocations: 1.219 kB / 0.584 GB, free: 28.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02797/0.4494, allocations: 7.213 MB / 0.591 GB, free: 27.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.4495, allocations: 115 kB / 0.5911 GB, free: 27.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.4515, allocations: 1.129 MB / 0.5922 GB, free: 26.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.4517, allocations: 50.16 kB / 0.5923 GB, free: 26.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.4521, allocations: 0.4914 MB / 0.5928 GB, free: 26.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.4524, allocations: 361.7 kB / 0.5931 GB, free: 26.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000516/0.453, allocations: 293.7 kB / 0.5934 GB, free: 25.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.453, allocations: 301.9 kB / 0.5937 GB, free: 25.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.4546, allocations: 0.7816 MB / 0.5944 GB, free: 25.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.4562, allocations: 0.9561 MB / 0.5954 GB, free: 24.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02367/0.4799, allocations: 5.802 MB / 0.601 GB, free: 23.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.4799, allocations: 1.156 kB / 0.601 GB, free: 23.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01336/0.4933, allocations: 4.451 MB / 0.6054 GB, free: 21.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.4934, allocations: 64.3 kB / 0.6054 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.4934, allocations: 7.891 kB / 0.6054 GB, free: 21.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005481/0.4989, allocations: 1.629 MB / 0.607 GB, free: 21.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.5004, allocations: 291.7 kB / 0.6073 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/0.5177, allocations: 8.605 MB / 0.6157 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.5197, allocations: 202.6 kB / 0.6159 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5198, allocations: 63.92 kB / 0.616 GB, free: 14.3 MB / 430.1 MB 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000577/0.5204, allocations: 310.8 kB / 0.6163 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.5206, allocations: 122.5 kB / 0.6164 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.5313, allocations: 3.908 MB / 0.6202 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5313, allocations: 8 kB / 0.6202 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5313, allocations: 11.98 kB / 0.6202 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.5314, allocations: 7.984 kB / 0.6202 GB, free: 9.898 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 postOpt removeSimpleEquations (simulation): time 0.01224/0.5436, allocations: 5.512 MB / 0.6256 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5436, allocations: 0 / 0.6256 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.5442, allocations: 103.8 kB / 0.6257 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00473/0.549, allocations: 1.585 MB / 0.6273 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.5491, allocations: 25.11 kB / 0.6273 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/0.5674, allocations: 9.653 MB / 0.6367 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5675, allocations: 0 / 0.6367 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.581, allocations: 4.764 MB / 0.6414 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006052/0.5816, allocations: 231.2 kB / 0.6416 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/0.582, allocations: 23.94 kB / 0.6416 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.5833, allocations: 111.9 kB / 0.6417 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005887/0.5839, allocations: 196.7 kB / 0.6419 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.584, allocations: 24.94 kB / 0.6419 GB, free: 3.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.5853, allocations: 0.7592 MB / 0.6427 GB, free: 2.453 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5853, allocations: 0 / 0.6427 GB, free: 2.453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001686/0.587, allocations: 491.5 kB / 0.6431 GB, free: 1.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003113/0.5873, allocations: 136.1 kB / 0.6433 GB, free: 1.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006418/0.5938, allocations: 2.598 MB / 0.6458 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5938, allocations: 4.062 kB / 0.6458 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003913/0.5977, allocations: 1.582 MB / 0.6474 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.5989, allocations: 127.7 kB / 0.6475 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.6032, allocations: 2.345 MB / 0.6498 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.6039, allocations: 1.128 MB / 0.6509 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.6043, allocations: 124.2 kB / 0.651 GB, free: 9.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.6046, allocations: 75.42 kB / 0.6511 GB, free: 9.777 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6046, allocations: 0 / 0.6511 GB, free: 9.777 MB / 462.1 MB Notification: Performance of Templates: time 0.04244/0.647, allocations: 24.16 MB / 0.6747 GB, free: 1.832 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)