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.0007368/0.0007368, 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.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.266 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.001305/0.001305, allocations: 172.5 kB / 291.3 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4823/0.4823, allocations: 78.55 MB / 420.9 MB, free: 4.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 12 kB / 0.4893 GB, free: 5.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 69.37 MB / 0.557 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2965/0.4508, allocations: 13.88 MB / 0.5706 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008089/0.4589, allocations: 3.606 MB / 0.5741 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.462, allocations: 35.09 kB / 0.5741 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.4637, allocations: 434.4 kB / 0.5746 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.4686, allocations: 1.239 MB / 0.5758 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.4719, allocations: 1.411 MB / 0.5771 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004139/0.476, allocations: 3.572 MB / 0.5806 GB, free: 27.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009467/0.477, allocations: 0.793 MB / 0.5814 GB, free: 27.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.4786, allocations: 1.349 MB / 0.5827 GB, free: 26.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.4802, allocations: 1.797 MB / 0.5845 GB, free: 26.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.4805, allocations: 145.9 kB / 0.5846 GB, free: 26.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006684/0.4812, allocations: 286.7 kB / 0.5849 GB, free: 26.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.4817, allocations: 0.6217 MB / 0.5855 GB, free: 25.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.4828, allocations: 1.499 MB / 0.587 GB, free: 24.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.4849, allocations: 2.984 MB / 0.5899 GB, free: 23.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4849, allocations: 0 / 0.5899 GB, free: 23.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4849, allocations: 0 / 0.5899 GB, free: 23.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.467e-05/0.485, allocations: 0 / 0.5899 GB, free: 23.97 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.0215/0.5065, allocations: 6.183 MB / 0.5959 GB, free: 21.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5066, allocations: 9.125 kB / 0.5959 GB, free: 21.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.522, allocations: 2.299 MB / 0.5982 GB, free: 21.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.5267, allocations: 1.898 MB / 0.6 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007774/0.5275, allocations: 0.756 MB / 0.6008 GB, free: 19.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007228/0.5282, allocations: 215.6 kB / 0.601 GB, free: 19.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007335/0.5356, allocations: 3.24 MB / 0.6041 GB, free: 18.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/0.5356, allocations: 2.453 kB / 0.6041 GB, free: 18.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.5359, allocations: 86.45 kB / 0.6042 GB, free: 18.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/0.536, allocations: 48.75 kB / 0.6043 GB, free: 18.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00723/0.5432, allocations: 2.996 MB / 0.6072 GB, free: 17.16 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.02415/0.5674, allocations: 10.19 MB / 0.6171 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.5802, allocations: 4.891 MB / 0.6219 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/0.5854, allocations: 2.178 MB / 0.624 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/0.5857, allocations: 39.39 kB / 0.6241 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004786/0.5905, allocations: 2.445 MB / 0.6265 GB, free: 6.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.218e-06/0.5905, allocations: 0 / 0.6265 GB, free: 6.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1289/0.7194, allocations: 33.64 MB / 0.6593 GB, free: 4.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.7196, allocations: 184.2 kB / 0.6595 GB, free: 4.133 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/0.7234, allocations: 2.321 MB / 0.6618 GB, free: 1.793 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008901/0.7243, allocations: 65.7 kB / 0.6618 GB, free: 1.723 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009398/0.7253, allocations: 1.176 MB / 0.663 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.7265, allocations: 0.8741 MB / 0.6638 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/0.727, allocations: 300.6 kB / 0.6641 GB, free: 15.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7271, allocations: 301.1 kB / 0.6644 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/0.7318, allocations: 2.169 MB / 0.6665 GB, free: 12.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004984/0.7368, allocations: 2.544 MB / 0.669 GB, free: 10.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05946/0.7963, allocations: 15.68 MB / 0.6843 GB, free: 10.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.7963, allocations: 4 kB / 0.6843 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04713/0.8435, allocations: 15.37 MB / 0.6993 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.8436, allocations: 114.8 kB / 0.6994 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.8436, allocations: 8 kB / 0.6994 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02048/0.8641, allocations: 6.244 MB / 0.7055 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.8678, allocations: 0.5819 MB / 0.7061 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0668/0.9346, allocations: 24.5 MB / 0.73 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006094/0.9407, allocations: 0.5908 MB / 0.7306 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000756/0.9415, allocations: 116 kB / 0.7307 GB, free: 10.56 MB / 0.5294 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.001807/0.9433, allocations: 0.5407 MB / 0.7313 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009547/0.9443, allocations: 300.2 kB / 0.7315 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04629/0.9906, allocations: 14.77 MB / 0.746 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.823e-05/0.9907, allocations: 31.94 kB / 0.746 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.953e-05/0.9907, allocations: 20.56 kB / 0.746 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.351e-05/0.9908, allocations: 15.95 kB / 0.746 GB, free: 10.77 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.05092/1.042, allocations: 18.4 MB / 0.764 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/1.042, allocations: 0 / 0.764 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.044, allocations: 252.3 kB / 0.7642 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02018/1.064, allocations: 6.289 MB / 0.7704 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000865/1.065, allocations: 53.39 kB / 0.7704 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.365/1.43, allocations: 25.52 MB / 0.7953 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.43, allocations: 0 / 0.7953 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05888/1.489, allocations: 17.35 MB / 0.8123 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.49, allocations: 422.3 kB / 0.8127 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008572/1.491, allocations: 43.34 kB / 0.8127 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/1.495, allocations: 412.6 kB / 0.8131 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002566/1.497, allocations: 0.5683 MB / 0.8137 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.498, allocations: 65.12 kB / 0.8138 GB, free: 160 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002994/1.501, allocations: 1.534 MB / 0.8153 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.122e-06/1.501, allocations: 0 / 0.8153 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004447/1.505, allocations: 1.182 MB / 0.8164 GB, free: 159.3 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.0004915/1.506, allocations: 175.5 kB / 0.8166 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02006/1.526, allocations: 7.544 MB / 0.8239 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.526, allocations: 6.562 kB / 0.8239 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01499/1.541, allocations: 5.109 MB / 0.8289 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/1.544, allocations: 270 kB / 0.8292 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/1.554, allocations: 6.76 MB / 0.8358 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.555, allocations: 1.815 MB / 0.8376 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008535/1.555, allocations: 174.8 kB / 0.8377 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/1.556, allocations: 0 / 0.8377 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06941/1.625, allocations: 63.96 MB / 0.9002 GB, free: 81.24 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