Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.488 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.001292/0.001292, allocations: 176.5 kB / 291.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5206/0.5206, allocations: 78.55 MB / 420.9 MB, free: 4.242 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004098, allocations: 8 kB / 0.4893 GB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 69.35 MB / 0.557 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2993/0.4532, allocations: 13.95 MB / 0.5706 GB, free: 30.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009039/0.4623, allocations: 3.623 MB / 0.5742 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003248/0.4656, allocations: 33.28 kB / 0.5742 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.4672, allocations: 442.5 kB / 0.5746 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006352/0.4735, allocations: 1.234 MB / 0.5758 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.4782, allocations: 1.418 MB / 0.5772 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007745/0.4859, allocations: 3.601 MB / 0.5807 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.4875, allocations: 0.7929 MB / 0.5815 GB, free: 27.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.4903, allocations: 1.356 MB / 0.5828 GB, free: 27.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.4928, allocations: 1.82 MB / 0.5846 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00042/0.4933, allocations: 147.1 kB / 0.5848 GB, free: 26.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008685/0.4941, allocations: 283.5 kB / 0.585 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005057/0.4946, allocations: 0.6197 MB / 0.5856 GB, free: 25.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.496, allocations: 1.512 MB / 0.5871 GB, free: 24.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.4987, allocations: 3.002 MB / 0.59 GB, free: 24.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4987, allocations: 0 / 0.59 GB, free: 24.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4987, allocations: 0 / 0.59 GB, free: 24.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.19e-05/0.4988, allocations: 4 kB / 0.59 GB, free: 24.06 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02264/0.5214, allocations: 6.221 MB / 0.5961 GB, free: 21.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5215, allocations: 8.75 kB / 0.5961 GB, free: 21.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.5378, allocations: 2.307 MB / 0.5984 GB, free: 21.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/0.5429, allocations: 1.895 MB / 0.6002 GB, free: 20.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007606/0.5437, allocations: 0.754 MB / 0.601 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005627/0.5442, allocations: 226.1 kB / 0.6012 GB, free: 19.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007475/0.5517, allocations: 3.255 MB / 0.6044 GB, free: 18.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.5518, allocations: 1.312 kB / 0.6044 GB, free: 18.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.552, allocations: 89.84 kB / 0.6044 GB, free: 18.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.5521, allocations: 49.22 kB / 0.6045 GB, free: 18.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00699/0.5591, allocations: 3.001 MB / 0.6074 GB, free: 17.22 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.02261/0.5817, allocations: 10.23 MB / 0.6174 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.5949, allocations: 4.899 MB / 0.6222 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005029/0.6, allocations: 2.191 MB / 0.6243 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.6003, allocations: 44.11 kB / 0.6244 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004479/0.6048, allocations: 2.443 MB / 0.6268 GB, free: 5.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 4.208e-06/0.6048, allocations: 4 kB / 0.6268 GB, free: 5.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1308/0.7357, allocations: 35.57 MB / 0.6615 GB, free: 2.145 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7359, allocations: 184.2 kB / 0.6617 GB, free: 1.926 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.74, allocations: 2.337 MB / 0.664 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009642/0.741, allocations: 69.7 kB / 0.664 GB, free: 15.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.742, allocations: 1.18 MB / 0.6652 GB, free: 14.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001477/0.7435, allocations: 0.8858 MB / 0.666 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.7439, allocations: 292.7 kB / 0.6663 GB, free: 13.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.7441, allocations: 301.1 kB / 0.6666 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004796/0.7489, allocations: 2.189 MB / 0.6687 GB, free: 10.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005534/0.7544, allocations: 2.561 MB / 0.6712 GB, free: 7.973 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06244/0.8169, allocations: 15.81 MB / 0.6867 GB, free: 7.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.817, allocations: 5.531 kB / 0.6867 GB, free: 7.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04864/0.8656, allocations: 15.43 MB / 0.7018 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.8658, allocations: 118.8 kB / 0.7019 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.8658, allocations: 8 kB / 0.7019 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02064/0.8864, allocations: 6.41 MB / 0.7081 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/0.8897, allocations: 0.5812 MB / 0.7087 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06193/0.9517, allocations: 24.94 MB / 0.7331 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005371/0.9571, allocations: 0.587 MB / 0.7336 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/0.9578, allocations: 120 kB / 0.7338 GB, free: 7.508 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001465/0.9592, allocations: 0.5306 MB / 0.7343 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007965/0.96, allocations: 300.2 kB / 0.7346 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04468/1.005, allocations: 14.8 MB / 0.749 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/1.005, allocations: 29.5 kB / 0.749 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-05/1.005, allocations: 17.12 kB / 0.7491 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.311e-05/1.005, allocations: 19.94 kB / 0.7491 GB, free: 7.699 MB / 0.545 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.05112/1.056, allocations: 18.43 MB / 0.7671 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/1.056, allocations: 0 / 0.7671 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/1.058, allocations: 247.6 kB / 0.7673 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3305/1.388, allocations: 6.274 MB / 0.7734 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008168/1.389, allocations: 47.23 kB / 0.7735 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05881/1.448, allocations: 25.53 MB / 0.7984 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.448, allocations: 0.875 kB / 0.7984 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05288/1.501, allocations: 17.38 MB / 0.8154 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.503, allocations: 419 kB / 0.8158 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.505, allocations: 53.83 kB / 0.8158 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003947/1.509, allocations: 412.1 kB / 0.8162 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002481/1.511, allocations: 0.5639 MB / 0.8168 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/1.511, allocations: 68.22 kB / 0.8169 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002436/1.514, allocations: 1.547 MB / 0.8184 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/1.514, allocations: 4 kB / 0.8184 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003767/1.517, allocations: 1.187 MB / 0.8195 GB, free: 152.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004379/1.518, allocations: 177.2 kB / 0.8197 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01848/1.536, allocations: 7.572 MB / 0.8271 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/1.536, allocations: 0 / 0.8271 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01375/1.55, allocations: 5.105 MB / 0.8321 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.553, allocations: 268.8 kB / 0.8323 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009916/1.563, allocations: 6.841 MB / 0.839 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.564, allocations: 1.82 MB / 0.8408 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.565, allocations: 176.6 kB / 0.841 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/1.565, allocations: 0 / 0.841 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06929/1.635, allocations: 64.3 MB / 0.9037 GB, free: 78.2 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIICalcHelperMain.o] Error 1