Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.0009027/0.0009028, allocations: 99.58 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.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.5 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.001173/0.001173, allocations: 168.6 kB / 291.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4678/0.4678, allocations: 78.54 MB / 420.9 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 8.375 kB / 0.4893 GB, free: 6.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 69.36 MB / 0.557 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2762/0.4157, allocations: 19.38 MB / 0.5759 GB, free: 27.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.4277, allocations: 6.414 MB / 0.5822 GB, free: 25.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.432, allocations: 45.06 kB / 0.5823 GB, free: 25.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.4347, allocations: 0.7644 MB / 0.583 GB, free: 24.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007594/0.4423, allocations: 2.377 MB / 0.5853 GB, free: 23.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.4466, allocations: 2.009 MB / 0.5873 GB, free: 22.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008075/0.4547, allocations: 6.787 MB / 0.5939 GB, free: 19.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.4571, allocations: 1.192 MB / 0.5951 GB, free: 18.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.4615, allocations: 2.156 MB / 0.5972 GB, free: 17.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005004/0.4665, allocations: 2.877 MB / 0.6 GB, free: 16.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002054/0.4686, allocations: 249.5 kB / 0.6002 GB, free: 16.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.4718, allocations: 0.4912 MB / 0.6007 GB, free: 16.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002226/0.474, allocations: 1.028 MB / 0.6017 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004718/0.4787, allocations: 2.395 MB / 0.6041 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008961/0.4877, allocations: 6.409 MB / 0.6103 GB, free: 12.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4877, allocations: 1.875 kB / 0.6103 GB, free: 12.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4878, allocations: 0 / 0.6103 GB, free: 12.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000271/0.488, allocations: 0 / 0.6103 GB, free: 12.69 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.04094/0.529, allocations: 9.862 MB / 0.6199 GB, free: 8.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.5291, allocations: 10.09 kB / 0.62 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.5431, allocations: 1.954 MB / 0.6219 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007812/0.5509, allocations: 3.348 MB / 0.6251 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/0.552, allocations: 1.035 MB / 0.6261 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.5532, allocations: 338.6 kB / 0.6265 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008864/0.5621, allocations: 4.138 MB / 0.6305 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.5622, allocations: 0 / 0.6305 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.5625, allocations: 111.4 kB / 0.6306 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/0.5626, allocations: 66 kB / 0.6307 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008469/0.5711, allocations: 4.012 MB / 0.6346 GB, free: 14.36 MB / 446.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.03027/0.6014, allocations: 15.78 MB / 0.65 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/0.617, allocations: 7.188 MB / 0.657 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005217/0.6222, allocations: 2.619 MB / 0.6596 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.623, allocations: 0.7698 MB / 0.6603 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005758/0.6287, allocations: 3.049 MB / 0.6633 GB, free: 15.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 4.599e-06/0.6287, allocations: 5.969 kB / 0.6633 GB, free: 15.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1129/0.7416, allocations: 30.55 MB / 0.6931 GB, free: 1.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.7418, allocations: 196.7 kB / 0.6933 GB, free: 1.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009361/0.7511, allocations: 4.542 MB / 0.6978 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001581/0.7527, allocations: 97.7 kB / 0.6979 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.7543, allocations: 1.751 MB / 0.6996 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002115/0.7564, allocations: 1.198 MB / 0.7007 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009108/0.7573, allocations: 0.5381 MB / 0.7013 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7574, allocations: 305.1 kB / 0.7016 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007081/0.7645, allocations: 3.209 MB / 0.7047 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007632/0.7721, allocations: 3.729 MB / 0.7083 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/0.786, allocations: 6.485 MB / 0.7147 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.786, allocations: 0 / 0.7147 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02434/0.8104, allocations: 9.979 MB / 0.7244 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.8104, allocations: 8 kB / 0.7244 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-05/0.8105, allocations: 11.98 kB / 0.7244 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02669/0.8372, allocations: 11.14 MB / 0.7353 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/0.8428, allocations: 0.984 MB / 0.7363 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/0.8603, allocations: 7.007 MB / 0.7431 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008618/0.869, allocations: 0.8386 MB / 0.7439 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/0.8701, allocations: 192 kB / 0.7441 GB, free: 12.66 MB / 0.545 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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,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 (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 {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.002419/0.8726, allocations: 0.7759 MB / 0.7449 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/0.874, allocations: 466 kB / 0.7453 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04011/0.9141, allocations: 13.98 MB / 0.759 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/0.9142, allocations: 32 kB / 0.759 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.9142, allocations: 0 / 0.759 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001161/0.9144, allocations: 23.94 kB / 0.759 GB, free: 13.31 MB / 0.5606 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.3749/1.289, allocations: 20.06 MB / 0.7786 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-05/1.289, allocations: 0.9375 kB / 0.7786 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/1.293, allocations: 444.3 kB / 0.779 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01728/1.31, allocations: 5.565 MB / 0.7845 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001358/1.311, allocations: 77.03 kB / 0.7845 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06102/1.373, allocations: 22.04 MB / 0.8061 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.373, allocations: 1.656 kB / 0.8061 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04992/1.422, allocations: 17.31 MB / 0.823 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/1.425, allocations: 0.7113 MB / 0.8237 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002791/1.428, allocations: 73.81 kB / 0.8237 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006576/1.435, allocations: 492.4 kB / 0.8242 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002757/1.437, allocations: 0.6045 MB / 0.8248 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004127/1.438, allocations: 102.7 kB / 0.8249 GB, free: 152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005851/1.444, allocations: 2.996 MB / 0.8278 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.31e-07/1.444, allocations: 0 / 0.8278 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006854/1.45, allocations: 1.437 MB / 0.8292 GB, free: 148.8 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 (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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007797/1.451, allocations: 227.8 kB / 0.8294 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02246/1.474, allocations: 8.612 MB / 0.8379 GB, free: 141 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.474, allocations: 4 kB / 0.8379 GB, free: 141 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01399/1.488, allocations: 4.965 MB / 0.8427 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005464/1.493, allocations: 396.2 kB / 0.8431 GB, free: 136 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.51, allocations: 11.23 MB / 0.854 GB, free: 125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/1.512, allocations: 2.337 MB / 0.8563 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002244/1.514, allocations: 275.4 kB / 0.8566 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of SimCode: time 6.12e-07/1.514, allocations: 0 / 0.8566 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.09758/1.611, allocations: 78.82 MB / 0.9336 GB, free: 43.56 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.TwoAreas.Two_Areas_PSSE_AVRCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVRCalcHelperMain.o] Error 1