Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008434/0.0008436, allocations: 102.6 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.507/1.507, allocations: 223.3 MB / 239.7 MB, free: 5.633 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.001247/0.001247, allocations: 176.5 kB / 290.9 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5509/0.5509, allocations: 79.48 MB / 421.5 MB, free: 4.035 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 8 kB / 0.4897 GB, free: 5.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 69.52 MB / 0.5576 GB, free: 44 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.3635/0.5342, allocations: 17.99 MB / 0.5752 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.5478, allocations: 6.2 MB / 0.5812 GB, free: 26.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004841/0.5526, allocations: 45.06 kB / 0.5813 GB, free: 26.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.5557, allocations: 0.6736 MB / 0.5819 GB, free: 25.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008014/0.5637, allocations: 1.847 MB / 0.5837 GB, free: 24.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005142/0.5689, allocations: 1.556 MB / 0.5853 GB, free: 23.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.5813, allocations: 6.125 MB / 0.5912 GB, free: 20.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004018/0.5853, allocations: 1.047 MB / 0.5923 GB, free: 20.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005129/0.5905, allocations: 2.099 MB / 0.5943 GB, free: 19.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005793/0.5963, allocations: 2.737 MB / 0.597 GB, free: 18.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002534/0.5988, allocations: 249.2 kB / 0.5972 GB, free: 18.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/0.6026, allocations: 494.9 kB / 0.5977 GB, free: 18.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002714/0.6054, allocations: 0.9843 MB / 0.5987 GB, free: 17.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003266/0.6086, allocations: 0.8382 MB / 0.5995 GB, free: 17.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.6199, allocations: 6.38 MB / 0.6057 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.62, allocations: 1.312 kB / 0.6057 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.62, allocations: 0 / 0.6057 GB, free: 15.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004001/0.6204, allocations: 0 / 0.6057 GB, free: 15.62 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: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.03956/0.66, allocations: 9.098 MB / 0.6146 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.66, allocations: 8.031 kB / 0.6146 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/0.6741, allocations: 1.944 MB / 0.6165 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/0.6859, allocations: 3.196 MB / 0.6196 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/0.6875, allocations: 1.036 MB / 0.6206 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/0.69, allocations: 326.5 kB / 0.6209 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.7055, allocations: 4.122 MB / 0.625 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.7056, allocations: 3.938 kB / 0.625 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008483/0.7065, allocations: 113 kB / 0.6251 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-05/0.7066, allocations: 66.19 kB / 0.6251 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009896/0.7165, allocations: 3.989 MB / 0.629 GB, free: 3.738 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.03402/0.7505, allocations: 15.78 MB / 0.6444 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/0.7661, allocations: 7.174 MB / 0.6515 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005991/0.7721, allocations: 2.619 MB / 0.654 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008911/0.773, allocations: 0.766 MB / 0.6548 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006535/0.7796, allocations: 3.034 MB / 0.6577 GB, free: 5.359 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 4.699e-06/0.7796, allocations: 4 kB / 0.6577 GB, free: 5.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1002/0.8798, allocations: 30.26 MB / 0.6873 GB, free: 6.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.88, allocations: 192.7 kB / 0.6875 GB, free: 6.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009965/0.8899, allocations: 4.496 MB / 0.6919 GB, free: 2.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002004/0.892, allocations: 105.7 kB / 0.692 GB, free: 2.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001972/0.894, allocations: 1.747 MB / 0.6937 GB, free: 420 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002898/0.8969, allocations: 1.202 MB / 0.6948 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006271/0.8975, allocations: 114 kB / 0.6949 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003219/0.8979, allocations: 0.5182 MB / 0.6954 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006644/0.9045, allocations: 3.186 MB / 0.6986 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007527/0.9121, allocations: 3.705 MB / 0.7022 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007658/0.9197, allocations: 3.415 MB / 0.7055 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.9198, allocations: 0 / 0.7055 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02291/0.9427, allocations: 9.952 MB / 0.7152 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.9428, allocations: 8 kB / 0.7152 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/0.9428, allocations: 8 kB / 0.7152 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.025/0.9678, allocations: 11.11 MB / 0.7261 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005678/0.9735, allocations: 0.987 MB / 0.7271 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/0.9901, allocations: 6.971 MB / 0.7339 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009368/0.9995, allocations: 0.8398 MB / 0.7347 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002739/1.002, allocations: 195.9 kB / 0.7349 GB, free: 5.941 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.006218/1.009, allocations: 0.7703 MB / 0.7356 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003062/1.012, allocations: 473.9 kB / 0.7361 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04223/1.054, allocations: 13.95 MB / 0.7497 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.158e-05/1.054, allocations: 36 kB / 0.7497 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.054, allocations: 4 kB / 0.7497 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001225/1.054, allocations: 19.94 kB / 0.7498 GB, free: 6.629 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.05564/1.11, allocations: 20.04 MB / 0.7693 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/1.11, allocations: 6.719 kB / 0.7693 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003619/1.114, allocations: 439.6 kB / 0.7697 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3916/1.505, allocations: 5.562 MB / 0.7752 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001208/1.506, allocations: 80.7 kB / 0.7753 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05037/1.557, allocations: 22 MB / 0.7967 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.557, allocations: 1.922 kB / 0.7967 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0495/1.606, allocations: 17.28 MB / 0.8136 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/1.609, allocations: 0.7081 MB / 0.8143 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002108/1.611, allocations: 74.55 kB / 0.8144 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004966/1.616, allocations: 498.6 kB / 0.8149 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002374/1.619, allocations: 0.6258 MB / 0.8155 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000307/1.619, allocations: 94.84 kB / 0.8156 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005004/1.624, allocations: 2.954 MB / 0.8184 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.624, allocations: 0 / 0.8184 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006628/1.631, allocations: 1.438 MB / 0.8198 GB, free: 153 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007386/1.631, allocations: 231.6 kB / 0.8201 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0199/1.651, allocations: 8.577 MB / 0.8284 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.651, allocations: 0.9375 kB / 0.8284 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01245/1.664, allocations: 4.953 MB / 0.8333 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/1.668, allocations: 395.9 kB / 0.8337 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/1.685, allocations: 10.74 MB / 0.8442 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.686, allocations: 2.333 MB / 0.8464 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/1.689, allocations: 282.7 kB / 0.8467 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/1.689, allocations: 0 / 0.8467 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.0933/1.782, allocations: 78.74 MB / 0.9236 GB, free: 53.09 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVRCalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVRCalcHelperMain.o] Error 1