Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008199/0.008199, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.396/1.396, allocations: 222.9 MB / 239.5 MB, free: 4.84 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.001478/0.001478, allocations: 192.4 kB / 289.8 MB, free: 2.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.496/0.496, allocations: 78.52 MB / 418.4 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.89 kB / 497.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1685, allocations: 68.17 MB / 0.5523 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.3473/0.5158, allocations: 14.56 MB / 0.5665 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.5307, allocations: 3.64 MB / 0.5701 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007528/0.5384, allocations: 31.84 kB / 0.5701 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004647/0.5432, allocations: 439.2 kB / 0.5705 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008076/0.5513, allocations: 1.236 MB / 0.5717 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.5559, allocations: 1.423 MB / 0.5731 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006608/0.5625, allocations: 3.574 MB / 0.5766 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.5648, allocations: 0.7973 MB / 0.5774 GB, free: 28.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.5678, allocations: 1.423 MB / 0.5788 GB, free: 27.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.571, allocations: 1.884 MB / 0.5806 GB, free: 27.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001357/0.5724, allocations: 180.2 kB / 0.5808 GB, free: 27.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.5744, allocations: 322.4 kB / 0.5811 GB, free: 27.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.5757, allocations: 0.6614 MB / 0.5818 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003103/0.5788, allocations: 1.536 MB / 0.5833 GB, free: 26.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.5827, allocations: 3.052 MB / 0.5862 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.5827, allocations: 0 / 0.5862 GB, free: 24.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.5827, allocations: 0 / 0.5862 GB, free: 24.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002045/0.5829, allocations: 0 / 0.5862 GB, free: 24.8 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02533/0.6083, allocations: 6.651 MB / 0.5927 GB, free: 22.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.6083, allocations: 8.688 kB / 0.5927 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/0.6234, allocations: 2.275 MB / 0.595 GB, free: 21.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/0.6284, allocations: 1.898 MB / 0.5968 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006744/0.6291, allocations: 0.7288 MB / 0.5975 GB, free: 19.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007839/0.6299, allocations: 219.6 kB / 0.5977 GB, free: 19.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007371/0.6373, allocations: 3.046 MB / 0.6007 GB, free: 18.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.903e-05/0.6374, allocations: 1.375 kB / 0.6007 GB, free: 18.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.6376, allocations: 85 kB / 0.6008 GB, free: 18.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/0.6377, allocations: 49.5 kB / 0.6008 GB, free: 18.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006469/0.6441, allocations: 2.794 MB / 0.6036 GB, free: 17.64 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.02233/0.6665, allocations: 9.94 MB / 0.6133 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.6775, allocations: 4.202 MB / 0.6174 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00437/0.6819, allocations: 1.981 MB / 0.6193 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/0.6823, allocations: 44.72 kB / 0.6194 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004763/0.687, allocations: 2.244 MB / 0.6215 GB, free: 7.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 1.258e-05/0.6871, allocations: 1.125 kB / 0.6216 GB, free: 7.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1149/0.802, allocations: 27.42 MB / 0.6483 GB, free: 12.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.8022, allocations: 184.2 kB / 0.6485 GB, free: 12.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.8061, allocations: 2.315 MB / 0.6508 GB, free: 10.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009079/0.807, allocations: 73.64 kB / 0.6508 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/0.808, allocations: 1.18 MB / 0.652 GB, free: 8.949 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001495/0.8095, allocations: 0.8741 MB / 0.6528 GB, free: 8.062 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.8107, allocations: 0.5659 MB / 0.6534 GB, free: 7.488 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.8108, allocations: 305.1 kB / 0.6537 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/0.8151, allocations: 1.97 MB / 0.6556 GB, free: 5.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004466/0.8196, allocations: 2.346 MB / 0.6579 GB, free: 2.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05422/0.8738, allocations: 14.25 MB / 0.6718 GB, free: 4.324 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.8739, allocations: 4 kB / 0.6718 GB, free: 4.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04096/0.9149, allocations: 12.55 MB / 0.6841 GB, free: 7.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.915, allocations: 114.8 kB / 0.6842 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.9151, allocations: 9.047 kB / 0.6842 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0175/0.9326, allocations: 5.257 MB / 0.6893 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/0.9362, allocations: 0.5851 MB / 0.6899 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05534/0.9916, allocations: 21.31 MB / 0.7107 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005712/0.9974, allocations: 497.1 kB / 0.7112 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008357/0.9982, allocations: 118.1 kB / 0.7113 GB, free: 11.63 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001744/1, allocations: 0.5397 MB / 0.7118 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.001, allocations: 296.2 kB / 0.7121 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0386/1.04, allocations: 11.93 MB / 0.7238 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/1.04, allocations: 31.94 kB / 0.7238 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.794e-05/1.04, allocations: 16.81 kB / 0.7238 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.693e-05/1.04, allocations: 15.95 kB / 0.7238 GB, free: 14.69 MB / 0.5294 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.04742/1.087, allocations: 15.56 MB / 0.739 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/1.087, allocations: 4 kB / 0.739 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/1.09, allocations: 247.6 kB / 0.7393 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01957/1.109, allocations: 5.306 MB / 0.7444 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001066/1.11, allocations: 55.98 kB / 0.7445 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06229/1.173, allocations: 22.67 MB / 0.7666 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/1.173, allocations: 1.5 kB / 0.7666 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3993/1.572, allocations: 14.3 MB / 0.7806 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.574, allocations: 409 kB / 0.781 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008455/1.574, allocations: 52.06 kB / 0.781 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.578, allocations: 298.8 kB / 0.7813 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002186/1.58, allocations: 0.5686 MB / 0.7819 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.58, allocations: 63.48 kB / 0.7819 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002795/1.583, allocations: 1.533 MB / 0.7834 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/1.583, allocations: 0 / 0.7834 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006661/1.589, allocations: 1.182 MB / 0.7846 GB, free: 165.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0008328/1.59, allocations: 176.8 kB / 0.7848 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02803/1.618, allocations: 6.655 MB / 0.7913 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.618, allocations: 0 / 0.7913 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01549/1.634, allocations: 4.416 MB / 0.7956 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/1.637, allocations: 268.2 kB / 0.7958 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.65, allocations: 6.632 MB / 0.8023 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/1.652, allocations: 1.816 MB / 0.8041 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.654, allocations: 176.7 kB / 0.8042 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/1.654, allocations: 0 / 0.8042 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.09786/1.752, allocations: 64.27 MB / 0.867 GB, free: 112.8 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIICalcHelperMain.o] Error 1