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.0009065/0.0009065, 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.462/1.462, allocations: 223.3 MB / 239.7 MB, free: 5.605 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.001471/0.00147, allocations: 180.5 kB / 290.9 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5367/0.5367, allocations: 78.55 MB / 420.6 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 12 kB / 0.4887 GB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 69.36 MB / 0.5564 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.3126/0.4904, allocations: 17.96 MB / 0.574 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.5101, allocations: 6.193 MB / 0.58 GB, free: 27.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006925/0.5171, allocations: 47.44 kB / 0.58 GB, free: 27.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005163/0.5223, allocations: 0.6793 MB / 0.5807 GB, free: 26.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.5361, allocations: 2.109 MB / 0.5828 GB, free: 25.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007263/0.5434, allocations: 1.562 MB / 0.5843 GB, free: 24.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01363/0.5571, allocations: 6.402 MB / 0.5905 GB, free: 21.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003415/0.5605, allocations: 1.045 MB / 0.5916 GB, free: 21.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/0.5664, allocations: 2.126 MB / 0.5936 GB, free: 20.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005845/0.5723, allocations: 2.787 MB / 0.5964 GB, free: 19.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00276/0.5751, allocations: 250.2 kB / 0.5966 GB, free: 19.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.5788, allocations: 492.2 kB / 0.5971 GB, free: 19.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.5806, allocations: 0.9989 MB / 0.5981 GB, free: 18.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002661/0.5833, allocations: 0.8388 MB / 0.5989 GB, free: 17.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.5962, allocations: 6.399 MB / 0.6051 GB, free: 16.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.5963, allocations: 0 / 0.6051 GB, free: 16.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.638e-06/0.5963, allocations: 0 / 0.6051 GB, free: 16.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004816/0.5968, allocations: 4.969 kB / 0.6051 GB, free: 16.41 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.04382/0.6406, allocations: 9.914 MB / 0.6148 GB, free: 12.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.568e-05/0.6408, allocations: 9.719 kB / 0.6148 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/0.6548, allocations: 1.946 MB / 0.6167 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.6666, allocations: 3.201 MB / 0.6198 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/0.6679, allocations: 1.034 MB / 0.6208 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/0.67, allocations: 322.1 kB / 0.6212 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.6807, allocations: 4.118 MB / 0.6252 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.382e-05/0.6808, allocations: 5.047 kB / 0.6252 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/0.6812, allocations: 112.2 kB / 0.6253 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-05/0.6812, allocations: 66.09 kB / 0.6254 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009619/0.6909, allocations: 3.994 MB / 0.6293 GB, free: 3.57 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.03999/0.7309, allocations: 15.77 MB / 0.6447 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/0.7494, allocations: 7.18 MB / 0.6517 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006952/0.7564, allocations: 2.611 MB / 0.6542 GB, free: 9.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.7579, allocations: 0.7752 MB / 0.655 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008993/0.7669, allocations: 3.046 MB / 0.6579 GB, free: 5.172 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 1.111e-05/0.767, allocations: 0 / 0.6579 GB, free: 5.172 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1154/0.8824, allocations: 30.25 MB / 0.6875 GB, free: 6.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.8826, allocations: 200.9 kB / 0.6877 GB, free: 6.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01327/0.8959, allocations: 4.491 MB / 0.6921 GB, free: 2.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001935/0.8979, allocations: 97.7 kB / 0.6922 GB, free: 2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.9001, allocations: 1.75 MB / 0.6939 GB, free: 244 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002974/0.9031, allocations: 1.198 MB / 0.695 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007652/0.9038, allocations: 116 kB / 0.6951 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0004372/0.9043, allocations: 0.5183 MB / 0.6957 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007865/0.9122, allocations: 3.186 MB / 0.6988 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009091/0.9213, allocations: 3.713 MB / 0.7024 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009916/0.9312, allocations: 3.415 MB / 0.7057 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-05/0.9313, allocations: 4 kB / 0.7057 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03352/0.9648, allocations: 9.948 MB / 0.7154 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/0.9649, allocations: 10.66 kB / 0.7155 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.439e-05/0.965, allocations: 11.98 kB / 0.7155 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02831/0.9933, allocations: 11.09 MB / 0.7263 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006224/0.9996, allocations: 0.9869 MB / 0.7273 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02116/1.021, allocations: 6.979 MB / 0.7341 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/1.032, allocations: 0.8356 MB / 0.7349 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/1.034, allocations: 192.5 kB / 0.7351 GB, free: 5.77 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.004996/1.039, allocations: 0.7653 MB / 0.7358 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002333/1.041, allocations: 474 kB / 0.7363 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04119/1.083, allocations: 13.96 MB / 0.7499 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.229e-05/1.083, allocations: 32 kB / 0.7499 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/1.083, allocations: 4 kB / 0.7499 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001409/1.083, allocations: 15.94 kB / 0.75 GB, free: 6.457 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.05685/1.14, allocations: 20.04 MB / 0.7695 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.653e-05/1.14, allocations: 128 / 0.7695 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00391/1.144, allocations: 443.4 kB / 0.7699 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.386/1.53, allocations: 5.557 MB / 0.7754 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001453/1.531, allocations: 86.58 kB / 0.7755 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05122/1.583, allocations: 22.01 MB / 0.797 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.583, allocations: 1.062 kB / 0.797 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05253/1.635, allocations: 17.28 MB / 0.8138 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.638, allocations: 0.7045 MB / 0.8145 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002591/1.64, allocations: 75.41 kB / 0.8146 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006007/1.646, allocations: 0.4889 MB / 0.8151 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002951/1.649, allocations: 0.6191 MB / 0.8157 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005432/1.65, allocations: 98.5 kB / 0.8158 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005634/1.656, allocations: 2.949 MB / 0.8186 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/1.656, allocations: 0 / 0.8186 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007049/1.663, allocations: 1.444 MB / 0.8201 GB, free: 153.6 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.0008941/1.664, allocations: 224.9 kB / 0.8203 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02197/1.686, allocations: 8.586 MB / 0.8287 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.686, allocations: 0 / 0.8287 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01382/1.7, allocations: 4.96 MB / 0.8335 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005301/1.705, allocations: 394.2 kB / 0.8339 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/1.723, allocations: 10.73 MB / 0.8444 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/1.725, allocations: 2.341 MB / 0.8466 GB, free: 132 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/1.729, allocations: 274.7 kB / 0.8469 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/1.729, allocations: 0 / 0.8469 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.1398/1.868, allocations: 78.74 MB / 0.9238 GB, free: 53.6 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++ 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.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