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.006523/0.00653, allocations: 100.3 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 239.5 MB, free: 4.844 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.001591/0.001591, allocations: 192.5 kB / 289.8 MB, free: 2.578 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5109/0.5109, allocations: 78.52 MB / 418.4 MB, free: 3.398 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 75.88 kB / 497.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1739, allocations: 68.17 MB / 0.5523 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.3704/0.5444, allocations: 20.22 MB / 0.572 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.5592, allocations: 6.479 MB / 0.5784 GB, free: 25.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006786/0.566, allocations: 47.12 kB / 0.5784 GB, free: 25.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004858/0.571, allocations: 0.7638 MB / 0.5792 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01208/0.5831, allocations: 2.371 MB / 0.5815 GB, free: 24.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006222/0.5894, allocations: 2.021 MB / 0.5835 GB, free: 23.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01193/0.6013, allocations: 6.787 MB / 0.5901 GB, free: 20.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003762/0.6051, allocations: 1.207 MB / 0.5913 GB, free: 19.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/0.6109, allocations: 2.274 MB / 0.5935 GB, free: 18.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006235/0.6172, allocations: 3.011 MB / 0.5964 GB, free: 17.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003174/0.6204, allocations: 299.6 kB / 0.5967 GB, free: 17.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.6251, allocations: 0.5402 MB / 0.5972 GB, free: 17.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003483/0.6286, allocations: 1.111 MB / 0.5983 GB, free: 16.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008027/0.6367, allocations: 2.461 MB / 0.6007 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.6505, allocations: 6.585 MB / 0.6071 GB, free: 12.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.6506, allocations: 2.266 kB / 0.6072 GB, free: 12.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6506, allocations: 4 kB / 0.6072 GB, free: 12.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004415/0.6511, allocations: 0 / 0.6072 GB, free: 12.66 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.05506/0.7062, allocations: 10.54 MB / 0.6174 GB, free: 8.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.7062, allocations: 15.78 kB / 0.6175 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.7202, allocations: 1.929 MB / 0.6193 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.732, allocations: 3.348 MB / 0.6226 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001431/0.7335, allocations: 1.011 MB / 0.6236 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/0.7359, allocations: 327.3 kB / 0.6239 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.75, allocations: 3.954 MB / 0.6278 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001344/0.7501, allocations: 0.625 kB / 0.6278 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/0.7512, allocations: 115.4 kB / 0.6279 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/0.7512, allocations: 68.17 kB / 0.6279 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009164/0.7604, allocations: 3.799 MB / 0.6317 GB, free: 14.41 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.03321/0.7936, allocations: 15.59 MB / 0.6469 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.8094, allocations: 6.461 MB / 0.6532 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005861/0.8153, allocations: 2.436 MB / 0.6556 GB, free: 5.125 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.8165, allocations: 0.7621 MB / 0.6563 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0076/0.8241, allocations: 2.862 MB / 0.6591 GB, free: 1.277 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 1.031e-05/0.8242, allocations: 0 / 0.6591 GB, free: 1.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1134/0.9376, allocations: 25.85 MB / 0.6844 GB, free: 7.328 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.9378, allocations: 192.7 kB / 0.6845 GB, free: 7.102 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01403/0.9518, allocations: 4.534 MB / 0.689 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001917/0.9538, allocations: 101.7 kB / 0.6891 GB, free: 2.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/0.9565, allocations: 1.754 MB / 0.6908 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003232/0.9598, allocations: 1.194 MB / 0.6919 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005122/0.9649, allocations: 1.07 MB / 0.693 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.965, allocations: 301.1 kB / 0.6933 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00693/0.972, allocations: 3.018 MB / 0.6962 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007071/0.9791, allocations: 3.541 MB / 0.6997 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.9928, allocations: 6.11 MB / 0.7057 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.526e-05/0.9928, allocations: 4.875 kB / 0.7057 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02441/1.017, allocations: 9.382 MB / 0.7148 GB, free: 7.758 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/1.017, allocations: 15.94 kB / 0.7148 GB, free: 7.742 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-05/1.017, allocations: 8 kB / 0.7148 GB, free: 7.734 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02723/1.045, allocations: 10.29 MB / 0.7249 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006242/1.051, allocations: 0.987 MB / 0.7259 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/1.072, allocations: 6.287 MB / 0.732 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/1.084, allocations: 0.7292 MB / 0.7327 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002426/1.086, allocations: 201.1 kB / 0.7329 GB, free: 5.195 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 ($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.006696/1.093, allocations: 0.7664 MB / 0.7336 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004247/1.097, allocations: 466.1 kB / 0.7341 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0439/1.141, allocations: 11.61 MB / 0.7454 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.98e-05/1.141, allocations: 36 kB / 0.7455 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/1.141, allocations: 4.75 kB / 0.7455 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001781/1.141, allocations: 23.91 kB / 0.7455 GB, free: 8.219 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.06231/1.204, allocations: 17.69 MB / 0.7628 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.142e-05/1.204, allocations: 0 / 0.7628 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/1.208, allocations: 436.9 kB / 0.7632 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01647/1.224, allocations: 4.761 MB / 0.7678 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001481/1.226, allocations: 85.16 kB / 0.7679 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4189/1.645, allocations: 19.6 MB / 0.7871 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.645, allocations: 0 / 0.7871 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04818/1.693, allocations: 14.76 MB / 0.8015 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002838/1.696, allocations: 0.6895 MB / 0.8021 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002339/1.698, allocations: 74.5 kB / 0.8022 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006084/1.704, allocations: 382.2 kB / 0.8026 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003305/1.707, allocations: 0.6055 MB / 0.8032 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005363/1.708, allocations: 89.39 kB / 0.8033 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007288/1.715, allocations: 2.992 MB / 0.8062 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.31e-07/1.715, allocations: 0 / 0.8062 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0105/1.726, allocations: 1.442 MB / 0.8076 GB, free: 160.3 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.001217/1.727, allocations: 230.5 kB / 0.8078 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02699/1.754, allocations: 7.855 MB / 0.8155 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.754, allocations: 0 / 0.8155 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01492/1.769, allocations: 4.391 MB / 0.8198 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/1.779, allocations: 396.6 kB / 0.8201 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/1.805, allocations: 10.84 MB / 0.8307 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003207/1.809, allocations: 2.337 MB / 0.833 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003336/1.812, allocations: 275 kB / 0.8333 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.294e-06/1.812, allocations: 0 / 0.8333 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.1133/1.925, allocations: 79.35 MB / 0.9108 GB, free: 65.11 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