Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 102.5 kB / 16.4 MB, free: 6.461 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.392/1.392, allocations: 222.9 MB / 240.1 MB, free: 4.512 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.001518/0.001518, allocations: 192.5 kB / 290.4 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5748/0.5748, allocations: 91.9 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 79.75 kB / 0.5735 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1654, allocations: 71.28 MB / 0.6431 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02028/0.1858, allocations: 21.99 MB / 0.6646 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.199, allocations: 4.904 MB / 0.6694 GB, free: 8.465 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.2047, allocations: 44 kB / 0.6694 GB, free: 8.422 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.2082, allocations: 0.8828 MB / 0.6703 GB, free: 7.531 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009389/0.2177, allocations: 2.056 MB / 0.6723 GB, free: 5.465 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006358/0.2241, allocations: 2.079 MB / 0.6743 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.2342, allocations: 5.799 MB / 0.68 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/0.2375, allocations: 1.318 MB / 0.6813 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004605/0.2421, allocations: 2.361 MB / 0.6836 GB, free: 9.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005335/0.2474, allocations: 2.982 MB / 0.6865 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002647/0.2501, allocations: 452 kB / 0.6869 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.2535, allocations: 0.5897 MB / 0.6875 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.2559, allocations: 1.167 MB / 0.6886 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0062/0.2621, allocations: 2.637 MB / 0.6912 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.2742, allocations: 6.289 MB / 0.6974 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2742, allocations: 0 / 0.6974 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2742, allocations: 0 / 0.6974 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003058/0.2745, allocations: 0 / 0.6974 GB, free: 11.69 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03384/0.3084, allocations: 9.24 MB / 0.7064 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.3085, allocations: 12.03 kB / 0.7064 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02685/0.3353, allocations: 4.012 MB / 0.7103 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007613/0.343, allocations: 2.694 MB / 0.7129 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/0.3442, allocations: 0.9651 MB / 0.7139 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.3459, allocations: 344 kB / 0.7142 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.3611, allocations: 4.755 MB / 0.7189 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.3613, allocations: 0 / 0.7189 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/0.3625, allocations: 148 kB / 0.719 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-05/0.3626, allocations: 84 kB / 0.7191 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/0.3748, allocations: 4.259 MB / 0.7232 GB, free: 0.832 MB / 0.5137 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 preOpt removeSimpleEquations (simulation): time 0.04237/0.4172, allocations: 18.29 MB / 0.7411 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.4304, allocations: 5.029 MB / 0.746 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006423/0.4369, allocations: 2.798 MB / 0.7487 GB, free: 5.434 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/0.4377, allocations: 70.91 kB / 0.7488 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008095/0.4458, allocations: 3.193 MB / 0.7519 GB, free: 2.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=385): time 9.869e-06/0.4459, allocations: 7.875 kB / 0.7519 GB, free: 2.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=385): time 0.6522/1.098, allocations: 66.8 MB / 0.8172 GB, free: 85.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/1.098, allocations: 149.7 kB / 0.8173 GB, free: 84.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/1.103, allocations: 3.273 MB / 0.8205 GB, free: 82.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/1.104, allocations: 87.27 kB / 0.8206 GB, free: 82.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/1.105, allocations: 1.987 MB / 0.8225 GB, free: 81.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.107, allocations: 1.322 MB / 0.8238 GB, free: 79.92 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/1.108, allocations: 0.6862 MB / 0.8245 GB, free: 79.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.459e-05/1.108, allocations: 301.1 kB / 0.8248 GB, free: 78.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004716/1.113, allocations: 2.616 MB / 0.8273 GB, free: 76.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004953/1.118, allocations: 3.253 MB / 0.8305 GB, free: 72.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06516/1.183, allocations: 19.12 MB / 0.8492 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.245e-05/1.183, allocations: 4 kB / 0.8492 GB, free: 53.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05189/1.235, allocations: 17.24 MB / 0.866 GB, free: 36.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.235, allocations: 67.39 kB / 0.8661 GB, free: 36.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-05/1.235, allocations: 19.94 kB / 0.8661 GB, free: 36.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02471/1.26, allocations: 7.295 MB / 0.8732 GB, free: 28.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/1.264, allocations: 0.6787 MB / 0.8739 GB, free: 28.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07995/1.344, allocations: 33.85 MB / 0.907 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007562/1.351, allocations: 0.6211 MB / 0.9076 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/1.353, allocations: 156 kB / 0.9077 GB, free: 9.312 MB / 0.5762 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.004389/1.357, allocations: 0.6782 MB / 0.9084 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002513/1.36, allocations: 458.3 kB / 0.9088 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05822/1.418, allocations: 16.89 MB / 0.9253 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/1.418, allocations: 36 kB / 0.9253 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.608e-05/1.418, allocations: 28.88 kB / 0.9254 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001217/1.419, allocations: 19.92 kB / 0.9254 GB, free: 7.125 MB / 0.5919 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.07062/1.489, allocations: 21.91 MB / 0.9468 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/1.489, allocations: 0 / 0.9468 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/1.492, allocations: 395.5 kB / 0.9472 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02628/1.518, allocations: 7.348 MB / 0.9543 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001251/1.519, allocations: 76.56 kB / 0.9544 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07891/1.598, allocations: 31.82 MB / 0.9855 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/1.598, allocations: 3.938 kB / 0.9855 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06286/1.661, allocations: 20.29 MB / 1.005 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/1.663, allocations: 0.5674 MB / 1.006 GB, free: 4.219 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.664, allocations: 64.06 kB / 1.006 GB, free: 4.156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004149/1.668, allocations: 375.6 kB / 1.006 GB, free: 3.789 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003214/1.672, allocations: 0.7922 MB / 1.007 GB, free: 2.996 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/1.672, allocations: 91.98 kB / 1.007 GB, free: 2.906 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003231/1.675, allocations: 2.149 MB / 1.009 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/1.675, allocations: 0 / 1.009 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005515/1.681, allocations: 1.814 MB / 1.011 GB, free: 14.94 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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.0005711/1.681, allocations: 211.4 kB / 1.011 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02521/1.706, allocations: 9.351 MB / 1.02 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.706, allocations: 1 kB / 1.02 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01949/1.726, allocations: 6.186 MB / 1.026 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/1.73, allocations: 391.2 kB / 1.027 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.746, allocations: 8.093 MB / 1.035 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/1.749, allocations: 2.451 MB / 1.037 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.75, allocations: 279.4 kB / 1.037 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of SimCode: time 1.533e-06/1.75, allocations: 4 kB / 1.037 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of Templates: time 0.4596/2.21, allocations: 89.19 MB / 1.124 GB, free: 180.2 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)