Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 96.14 kB / 15.87 MB, free: 16 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.451/1.451, allocations: 222.9 MB / 239.5 MB, free: 4.746 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.001526/0.001526, allocations: 192.4 kB / 289.8 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5318/0.5318, allocations: 78.52 MB / 418.4 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 79.86 kB / 497.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1692, allocations: 68.18 MB / 0.5523 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.3312/0.5004, allocations: 14.36 MB / 0.5663 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008912/0.5094, allocations: 3.6 MB / 0.5699 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/0.5134, allocations: 36.5 kB / 0.5699 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.5155, allocations: 436.9 kB / 0.5703 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005404/0.5209, allocations: 1.223 MB / 0.5715 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.5245, allocations: 1.417 MB / 0.5729 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005573/0.5301, allocations: 3.509 MB / 0.5763 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.5314, allocations: 0.8042 MB / 0.5771 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.5338, allocations: 1.399 MB / 0.5785 GB, free: 27.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.5356, allocations: 1.853 MB / 0.5803 GB, free: 27.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.536, allocations: 177.3 kB / 0.5804 GB, free: 27.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008577/0.5369, allocations: 319.5 kB / 0.5807 GB, free: 27.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.5374, allocations: 0.6569 MB / 0.5814 GB, free: 26.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.5386, allocations: 1.522 MB / 0.5829 GB, free: 26.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.5409, allocations: 3.014 MB / 0.5858 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5409, allocations: 0 / 0.5858 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5409, allocations: 0 / 0.5858 GB, free: 24.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.17e-05/0.541, allocations: 0 / 0.5858 GB, free: 24.89 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02412/0.5652, allocations: 6.589 MB / 0.5923 GB, free: 22.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.5652, allocations: 9.719 kB / 0.5923 GB, free: 22.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.5806, allocations: 2.274 MB / 0.5945 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.5851, allocations: 1.872 MB / 0.5963 GB, free: 20.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000641/0.5858, allocations: 0.7261 MB / 0.597 GB, free: 20.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005302/0.5863, allocations: 215 kB / 0.5972 GB, free: 19.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007244/0.5936, allocations: 3.031 MB / 0.6002 GB, free: 18.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.5937, allocations: 0.7969 kB / 0.6002 GB, free: 18.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.5939, allocations: 86.06 kB / 0.6003 GB, free: 18.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.594, allocations: 50.42 kB / 0.6003 GB, free: 18.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.6005, allocations: 2.79 MB / 0.603 GB, free: 17.77 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.02274/0.6232, allocations: 9.863 MB / 0.6127 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.6347, allocations: 4.183 MB / 0.6168 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004659/0.6394, allocations: 1.971 MB / 0.6187 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.6398, allocations: 42.23 kB / 0.6187 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005436/0.6453, allocations: 2.227 MB / 0.6209 GB, free: 8.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 1.405e-05/0.6453, allocations: 0 / 0.6209 GB, free: 8.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1269/0.7722, allocations: 29.48 MB / 0.6497 GB, free: 11.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.7724, allocations: 180.2 kB / 0.6499 GB, free: 11.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005289/0.7777, allocations: 2.281 MB / 0.6521 GB, free: 8.711 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/0.7788, allocations: 73.7 kB / 0.6522 GB, free: 8.633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.7801, allocations: 1.172 MB / 0.6533 GB, free: 7.449 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002103/0.7823, allocations: 0.8665 MB / 0.6541 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003673/0.786, allocations: 0.5539 MB / 0.6547 GB, free: 6.008 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.7862, allocations: 305.1 kB / 0.655 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004611/0.7908, allocations: 1.955 MB / 0.6569 GB, free: 3.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005074/0.7959, allocations: 2.317 MB / 0.6591 GB, free: 1.344 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05672/0.8526, allocations: 14 MB / 0.6728 GB, free: 3.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/0.8527, allocations: 4 kB / 0.6728 GB, free: 3.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04496/0.8977, allocations: 12.28 MB / 0.6848 GB, free: 6.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.8979, allocations: 114.8 kB / 0.6849 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/0.898, allocations: 12.81 kB / 0.6849 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01889/0.9169, allocations: 5.313 MB / 0.6901 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.9202, allocations: 0.5578 MB / 0.6907 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06213/0.9823, allocations: 21.6 MB / 0.7118 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005663/0.988, allocations: 490.3 kB / 0.7122 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.9892, allocations: 116 kB / 0.7123 GB, free: 10.41 MB / 0.5137 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 order3_1.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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.002845/0.992, allocations: 0.5396 MB / 0.7129 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/0.9938, allocations: 292.3 kB / 0.7131 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0425/1.036, allocations: 11.9 MB / 0.7248 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-05/1.036, allocations: 28 kB / 0.7248 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001385/1.037, allocations: 16 kB / 0.7248 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001494/1.037, allocations: 15.95 kB / 0.7248 GB, free: 13.56 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.05392/1.091, allocations: 15.49 MB / 0.74 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/1.091, allocations: 0 / 0.74 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/1.093, allocations: 243.7 kB / 0.7402 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01843/1.111, allocations: 5.296 MB / 0.7454 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009593/1.112, allocations: 51.98 kB / 0.7454 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06045/1.173, allocations: 22.69 MB / 0.7676 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.173, allocations: 0 / 0.7676 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4072/1.58, allocations: 14.25 MB / 0.7815 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.581, allocations: 405.1 kB / 0.7819 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008433/1.582, allocations: 46.88 kB / 0.7819 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.585, allocations: 300.8 kB / 0.7822 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00218/1.587, allocations: 0.571 MB / 0.7828 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/1.588, allocations: 69.05 kB / 0.7828 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002308/1.59, allocations: 1.504 MB / 0.7843 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.59, allocations: 0 / 0.7843 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004335/1.594, allocations: 1.166 MB / 0.7854 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: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0005078/1.595, allocations: 176.4 kB / 0.7856 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01905/1.614, allocations: 6.594 MB / 0.792 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.614, allocations: 0.9375 kB / 0.792 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01562/1.63, allocations: 4.38 MB / 0.7963 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.004982/1.635, allocations: 263 kB / 0.7966 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/1.651, allocations: 6.478 MB / 0.8029 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/1.654, allocations: 1.811 MB / 0.8047 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/1.655, allocations: 175.9 kB / 0.8048 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.392e-06/1.655, allocations: 0 / 0.8048 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.09936/1.755, allocations: 63.78 MB / 0.8671 GB, free: 112.6 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIICalcHelperMain.o] Error 1