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.001143/0.001143, allocations: 102.3 kB / 15.71 MB, free: 460 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.457/1.457, allocations: 223.3 MB / 239.7 MB, free: 5.453 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.001286/0.001285, allocations: 184.5 kB / 290.9 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5908/0.5908, allocations: 78.55 MB / 420.6 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 16 kB / 0.4887 GB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 69.36 MB / 0.5564 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.3329/0.4958, allocations: 12.75 MB / 0.5689 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009579/0.5055, allocations: 3.436 MB / 0.5722 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005193/0.5107, allocations: 32.31 kB / 0.5722 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.5132, allocations: 394.1 kB / 0.5726 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.5191, allocations: 1.191 MB / 0.5738 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.5227, allocations: 1.275 MB / 0.575 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.5286, allocations: 3.336 MB / 0.5783 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.5301, allocations: 0.6885 MB / 0.579 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.5329, allocations: 1.305 MB / 0.5802 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0033/0.5362, allocations: 1.717 MB / 0.5819 GB, free: 28.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006879/0.5369, allocations: 141.8 kB / 0.5821 GB, free: 28.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.5382, allocations: 268 kB / 0.5823 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005481/0.5387, allocations: 0.5833 MB / 0.5829 GB, free: 27.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000861/0.5396, allocations: 0.5216 MB / 0.5834 GB, free: 27.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.5423, allocations: 2.944 MB / 0.5863 GB, free: 26.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5424, allocations: 0 / 0.5863 GB, free: 26.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5424, allocations: 0 / 0.5863 GB, free: 26.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.628e-05/0.5424, allocations: 4 kB / 0.5863 GB, free: 26.59 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.02017/0.5626, allocations: 6.162 MB / 0.5923 GB, free: 24.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5627, allocations: 8.719 kB / 0.5923 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.5779, allocations: 2.294 MB / 0.5945 GB, free: 23.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005059/0.583, allocations: 1.769 MB / 0.5963 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007497/0.5838, allocations: 0.7572 MB / 0.597 GB, free: 22.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005827/0.5844, allocations: 221.8 kB / 0.5972 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007715/0.5921, allocations: 3.207 MB / 0.6003 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.5922, allocations: 1.031 kB / 0.6003 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/0.5925, allocations: 82.14 kB / 0.6004 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.5925, allocations: 49.5 kB / 0.6005 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00682/0.5994, allocations: 2.976 MB / 0.6034 GB, free: 19.91 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.02071/0.6201, allocations: 10.11 MB / 0.6132 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/0.6319, allocations: 4.851 MB / 0.618 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004612/0.6365, allocations: 2.168 MB / 0.6201 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.6369, allocations: 44.08 kB / 0.6201 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004427/0.6413, allocations: 2.415 MB / 0.6225 GB, free: 9.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 4.839e-06/0.6413, allocations: 1.312 kB / 0.6225 GB, free: 9.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1187/0.76, allocations: 36.28 MB / 0.6579 GB, free: 5.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.7602, allocations: 190.5 kB / 0.6581 GB, free: 5.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004199/0.7644, allocations: 2.261 MB / 0.6603 GB, free: 3.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009513/0.7654, allocations: 73.7 kB / 0.6604 GB, free: 2.973 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.7664, allocations: 1.172 MB / 0.6615 GB, free: 1.789 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/0.7679, allocations: 0.8665 MB / 0.6624 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.7682, allocations: 64 kB / 0.6624 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.7684, allocations: 428.8 kB / 0.6629 GB, free: 432 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00444/0.7729, allocations: 2.138 MB / 0.6649 GB, free: 14.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004613/0.7775, allocations: 2.504 MB / 0.6674 GB, free: 11.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/0.7822, allocations: 2.392 MB / 0.6697 GB, free: 9.254 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.7822, allocations: 4 kB / 0.6697 GB, free: 9.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04168/0.8239, allocations: 15.15 MB / 0.6845 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.8241, allocations: 114.8 kB / 0.6846 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.8241, allocations: 11.98 kB / 0.6846 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01893/0.843, allocations: 6.352 MB / 0.6908 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003221/0.8463, allocations: 0.5695 MB / 0.6914 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05692/0.9032, allocations: 25.19 MB / 0.716 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005019/0.9083, allocations: 0.5831 MB / 0.7166 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004091/0.9087, allocations: 116.6 kB / 0.7167 GB, free: 8.945 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001454/0.9102, allocations: 0.5295 MB / 0.7172 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006146/0.9108, allocations: 304.2 kB / 0.7175 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03964/0.9505, allocations: 14.72 MB / 0.7319 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/0.9506, allocations: 28 kB / 0.7319 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-05/0.9506, allocations: 16 kB / 0.7319 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.692e-05/0.9507, allocations: 18.02 kB / 0.7319 GB, free: 9.27 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.04673/0.9974, allocations: 18.31 MB / 0.7498 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/0.9975, allocations: 0 / 0.7498 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.9992, allocations: 247.6 kB / 0.75 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01771/1.017, allocations: 6.261 MB / 0.7562 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007953/1.018, allocations: 51.98 kB / 0.7562 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3817/1.399, allocations: 25.5 MB / 0.7811 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.4, allocations: 2.953 kB / 0.7811 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05092/1.45, allocations: 17.28 MB / 0.798 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.452, allocations: 423.3 kB / 0.7984 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008947/1.453, allocations: 43.12 kB / 0.7984 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003241/1.456, allocations: 409.3 kB / 0.7988 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002463/1.459, allocations: 0.5767 MB / 0.7994 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/1.459, allocations: 64.77 kB / 0.7995 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002887/1.462, allocations: 1.489 MB / 0.8009 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.51e-07/1.462, allocations: 3.375 kB / 0.8009 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005042/1.467, allocations: 1.171 MB / 0.8021 GB, free: 162.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005202/1.467, allocations: 175.4 kB / 0.8022 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02024/1.488, allocations: 7.477 MB / 0.8095 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.488, allocations: 0 / 0.8095 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0147/1.502, allocations: 5.073 MB / 0.8145 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/1.506, allocations: 263.5 kB / 0.8147 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.517, allocations: 6.257 MB / 0.8208 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/1.519, allocations: 1.805 MB / 0.8226 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.52, allocations: 182.3 kB / 0.8228 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.816e-06/1.52, allocations: 0 / 0.8228 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.0777/1.598, allocations: 63.66 MB / 0.8849 GB, free: 96.46 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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