Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008317/0.0008318, allocations: 98.88 kB / 16.02 MB, free: 76 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.254 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.001347/0.001347, allocations: 192.4 kB / 291.3 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4798/0.4798, allocations: 78.55 MB / 420.9 MB, free: 4.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 8 kB / 0.4893 GB, free: 5.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 69.37 MB / 0.557 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2636/0.3931, allocations: 6.343 MB / 0.5632 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.397, allocations: 1.988 MB / 0.5652 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.3983, allocations: 15.22 kB / 0.5652 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.399, allocations: 179.4 kB / 0.5653 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.4007, allocations: 0.7045 MB / 0.566 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4019, allocations: 0.5782 MB / 0.5666 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.4031, allocations: 1.487 MB / 0.5681 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.4035, allocations: 281.8 kB / 0.5683 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.4041, allocations: 0.5684 MB / 0.5689 GB, free: 33.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006247/0.4047, allocations: 0.7394 MB / 0.5696 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.4048, allocations: 58.91 kB / 0.5697 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.4052, allocations: 196.4 kB / 0.5698 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.4054, allocations: 257.5 kB / 0.5701 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000414/0.4059, allocations: 0.623 MB / 0.5707 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008842/0.4068, allocations: 1.232 MB / 0.5719 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4068, allocations: 1.031 kB / 0.5719 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4068, allocations: 1.656 kB / 0.5719 GB, free: 33.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.4068, allocations: 0 / 0.5719 GB, free: 33.02 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007592/0.4144, allocations: 2.498 MB / 0.5743 GB, free: 32.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4145, allocations: 9.188 kB / 0.5743 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/0.4192, allocations: 0.7825 MB / 0.5751 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.4207, allocations: 0.8826 MB / 0.576 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.4209, allocations: 269.6 kB / 0.5762 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.4211, allocations: 85.3 kB / 0.5763 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.4231, allocations: 1.152 MB / 0.5774 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4231, allocations: 0 / 0.5774 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.4232, allocations: 36.59 kB / 0.5775 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.4232, allocations: 16.06 kB / 0.5775 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.4251, allocations: 1.047 MB / 0.5785 GB, free: 31.26 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.005848/0.4309, allocations: 3.901 MB / 0.5823 GB, free: 30.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007531/0.4385, allocations: 2.905 MB / 0.5852 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.44, allocations: 0.7426 MB / 0.5859 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-05/0.4401, allocations: 18.58 kB / 0.5859 GB, free: 28.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.4417, allocations: 0.8754 MB / 0.5868 GB, free: 28.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.685e-06/0.4417, allocations: 0 / 0.5868 GB, free: 28.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03169/0.4734, allocations: 8.801 MB / 0.5954 GB, free: 27.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4735, allocations: 118.9 kB / 0.5955 GB, free: 26.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.4754, allocations: 1.087 MB / 0.5965 GB, free: 26.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002138/0.4756, allocations: 50.33 kB / 0.5966 GB, free: 26.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.476, allocations: 498.5 kB / 0.597 GB, free: 26.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.4764, allocations: 352 kB / 0.5974 GB, free: 25.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.4766, allocations: 140.9 kB / 0.5975 GB, free: 25.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.4767, allocations: 306.7 kB / 0.5978 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.4784, allocations: 0.8154 MB / 0.5986 GB, free: 25.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.4802, allocations: 0.9948 MB / 0.5996 GB, free: 24.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0245/0.5047, allocations: 5.984 MB / 0.6054 GB, free: 22.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.5048, allocations: 1.094 kB / 0.6054 GB, free: 22.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01567/0.5205, allocations: 5.192 MB / 0.6105 GB, free: 21.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.5206, allocations: 63.53 kB / 0.6106 GB, free: 21.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.5206, allocations: 3.922 kB / 0.6106 GB, free: 21.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006398/0.527, allocations: 1.882 MB / 0.6124 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.5285, allocations: 272.1 kB / 0.6127 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.5461, allocations: 8.832 MB / 0.6213 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.5481, allocations: 234.7 kB / 0.6215 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.5482, allocations: 55.97 kB / 0.6216 GB, free: 11.25 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005889/0.5488, allocations: 299.3 kB / 0.6218 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.549, allocations: 126.5 kB / 0.622 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.5616, allocations: 4.724 MB / 0.6266 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.5616, allocations: 12 kB / 0.6266 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5616, allocations: 6.156 kB / 0.6266 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.5617, allocations: 7.984 kB / 0.6266 GB, free: 6.039 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.01419/0.5758, allocations: 6.301 MB / 0.6328 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.5759, allocations: 0.5156 kB / 0.6328 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.5765, allocations: 103.8 kB / 0.6329 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005817/0.5823, allocations: 1.881 MB / 0.6347 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.5824, allocations: 23.98 kB / 0.6347 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01957/0.602, allocations: 9.686 MB / 0.6442 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6021, allocations: 4 kB / 0.6442 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/0.6177, allocations: 5.643 MB / 0.6497 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/0.6183, allocations: 223.3 kB / 0.6499 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.6187, allocations: 28 kB / 0.6499 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.6201, allocations: 139.9 kB / 0.6501 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006085/0.6207, allocations: 190.1 kB / 0.6502 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/0.6208, allocations: 31.98 kB / 0.6503 GB, free: 13.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.6221, allocations: 0.7276 MB / 0.651 GB, free: 12.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6221, allocations: 3.938 kB / 0.651 GB, free: 12.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0017/0.6238, allocations: 475.5 kB / 0.6514 GB, free: 12.15 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003141/0.6241, allocations: 131.3 kB / 0.6516 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006727/0.6308, allocations: 2.798 MB / 0.6543 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6309, allocations: 0 / 0.6543 GB, free: 9.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004593/0.6355, allocations: 1.808 MB / 0.6561 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.6368, allocations: 117.7 kB / 0.6562 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.6411, allocations: 2.748 MB / 0.6589 GB, free: 4.484 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/0.6418, allocations: 1.116 MB / 0.6599 GB, free: 3.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.6422, allocations: 83.41 kB / 0.66 GB, free: 3.258 MB / 462.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6422, allocations: 3.938 kB / 0.66 GB, free: 3.254 MB / 462.1 MB Notification: Performance of Templates: time 0.0278/0.67, allocations: 23.26 MB / 0.6827 GB, free: 12.17 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.o] Error 1