Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.366/1.366, allocations: 222.9 MB / 240 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.001334/0.001334, allocations: 188.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5122/0.5122, allocations: 91.91 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 83.88 kB / 0.5033 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3677, allocations: 71.26 MB / 0.5729 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01411/0.3819, allocations: 21.73 MB / 0.5941 GB, free: 21.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.3925, allocations: 4.855 MB / 0.5988 GB, free: 18.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004007/0.3966, allocations: 45.41 kB / 0.5989 GB, free: 18.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.399, allocations: 0.8795 MB / 0.5997 GB, free: 17.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007266/0.4064, allocations: 2.03 MB / 0.6017 GB, free: 16.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.4115, allocations: 2.064 MB / 0.6037 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00975/0.4212, allocations: 5.705 MB / 0.6093 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.4235, allocations: 1.323 MB / 0.6106 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/0.4279, allocations: 2.314 MB / 0.6129 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004694/0.4326, allocations: 2.937 MB / 0.6157 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.434, allocations: 436.9 kB / 0.6161 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.4361, allocations: 0.5852 MB / 0.6167 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009311/0.4371, allocations: 1.146 MB / 0.6178 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.4406, allocations: 2.607 MB / 0.6204 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008645/0.4492, allocations: 6.22 MB / 0.6265 GB, free: 3.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4493, allocations: 0 / 0.6265 GB, free: 3.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4493, allocations: 1.375 kB / 0.6265 GB, free: 3.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002684/0.4496, allocations: 3.938 kB / 0.6265 GB, free: 3.637 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03332/0.4829, allocations: 9.151 MB / 0.6354 GB, free: 14.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.483, allocations: 12.03 kB / 0.6354 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02675/0.5097, allocations: 4.009 MB / 0.6393 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006477/0.5163, allocations: 2.651 MB / 0.6419 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009534/0.5172, allocations: 0.9495 MB / 0.6428 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/0.5184, allocations: 351.9 kB / 0.6432 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009135/0.5275, allocations: 4.727 MB / 0.6478 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.5276, allocations: 3.938 kB / 0.6478 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.528, allocations: 140 kB / 0.6479 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.5281, allocations: 84 kB / 0.648 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008134/0.5362, allocations: 4.24 MB / 0.6521 GB, free: 12.9 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.03197/0.5682, allocations: 18.19 MB / 0.6699 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.5796, allocations: 4.995 MB / 0.6748 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/0.5851, allocations: 2.785 MB / 0.6775 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/0.5856, allocations: 66.91 kB / 0.6776 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006429/0.5921, allocations: 3.165 MB / 0.6807 GB, free: 14.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 6.803e-06/0.5921, allocations: 0 / 0.6807 GB, free: 14.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.2829/0.875, allocations: 68.21 MB / 0.7473 GB, free: 9.992 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.8752, allocations: 149.8 kB / 0.7474 GB, free: 9.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006301/0.8815, allocations: 3.226 MB / 0.7506 GB, free: 6.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/0.8826, allocations: 85.7 kB / 0.7506 GB, free: 6.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.8844, allocations: 1.974 MB / 0.7526 GB, free: 4.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002255/0.8866, allocations: 1.305 MB / 0.7538 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003021/0.8897, allocations: 0.6703 MB / 0.7545 GB, free: 2.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8898, allocations: 309.1 kB / 0.7548 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00596/0.8958, allocations: 2.569 MB / 0.7573 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006413/0.9022, allocations: 3.209 MB / 0.7604 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3259/1.228, allocations: 18.75 MB / 0.7788 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.228, allocations: 2.906 kB / 0.7788 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05035/1.278, allocations: 16.94 MB / 0.7953 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/1.279, allocations: 63.97 kB / 0.7954 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/1.279, allocations: 14.8 kB / 0.7954 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02441/1.303, allocations: 7.227 MB / 0.8024 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/1.306, allocations: 0.6636 MB / 0.8031 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07333/1.38, allocations: 33.71 MB / 0.836 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005811/1.386, allocations: 0.6184 MB / 0.8366 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/1.386, allocations: 152 kB / 0.8367 GB, free: 132.8 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (398): * Single equations (assignments): 395 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001616/1.388, allocations: 0.6674 MB / 0.8374 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/1.388, allocations: 462.2 kB / 0.8378 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04603/1.434, allocations: 16.84 MB / 0.8543 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.434, allocations: 36 kB / 0.8543 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/1.434, allocations: 28.84 kB / 0.8543 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.717e-05/1.434, allocations: 23.92 kB / 0.8544 GB, free: 114.7 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.05149/1.486, allocations: 21.82 MB / 0.8757 GB, free: 92.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.486, allocations: 3.938 kB / 0.8757 GB, free: 92.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/1.488, allocations: 391.5 kB / 0.876 GB, free: 92.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02188/1.51, allocations: 7.376 MB / 0.8832 GB, free: 85.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000717/1.511, allocations: 67.98 kB / 0.8833 GB, free: 84.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06493/1.576, allocations: 31.81 MB / 0.9144 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/1.576, allocations: 0 / 0.9144 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05276/1.628, allocations: 20.2 MB / 0.9341 GB, free: 32.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.63, allocations: 0.5648 MB / 0.9347 GB, free: 32.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.631, allocations: 60 kB / 0.9347 GB, free: 31.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003807/1.635, allocations: 379.6 kB / 0.9351 GB, free: 31.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002752/1.638, allocations: 0.7844 MB / 0.9358 GB, free: 30.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002987/1.638, allocations: 95.97 kB / 0.9359 GB, free: 30.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002502/1.641, allocations: 2.109 MB / 0.938 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/1.641, allocations: 0 / 0.938 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004966/1.646, allocations: 1.79 MB / 0.9397 GB, free: 26.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004888/1.646, allocations: 196.3 kB / 0.9399 GB, free: 26.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02161/1.668, allocations: 9.281 MB / 0.949 GB, free: 17.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.668, allocations: 0 / 0.949 GB, free: 17.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01799/1.686, allocations: 6.175 MB / 0.955 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.69, allocations: 394.5 kB / 0.9554 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.703, allocations: 7.79 MB / 0.963 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.705, allocations: 2.439 MB / 0.9654 GB, free: 400 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001637/1.707, allocations: 379.1 kB / 0.9657 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008722/1.708, allocations: 255.4 kB / 0.966 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/1.708, allocations: 0 / 0.966 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.3862/2.094, allocations: 92.26 MB / 1.056 GB, free: 159.2 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)