Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 96.14 kB / 16.03 MB, free: 68 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.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.512 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.001002/0.001002, allocations: 176.5 kB / 291.3 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.457/0.457, allocations: 78.55 MB / 420.9 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003707, allocations: 8 kB / 0.4893 GB, free: 6.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 69.37 MB / 0.557 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2606/0.4032, allocations: 6.479 MB / 0.5634 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.4074, allocations: 2.017 MB / 0.5653 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007903/0.4082, allocations: 16.59 kB / 0.5653 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.4089, allocations: 180.4 kB / 0.5655 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.4106, allocations: 0.717 MB / 0.5662 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.4118, allocations: 0.5901 MB / 0.5668 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.4132, allocations: 1.548 MB / 0.5683 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/0.4136, allocations: 286.5 kB / 0.5686 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000565/0.4142, allocations: 0.587 MB / 0.5691 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007342/0.4149, allocations: 0.7756 MB / 0.5699 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.415, allocations: 61.62 kB / 0.57 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.4155, allocations: 192 kB / 0.5701 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.4157, allocations: 273.5 kB / 0.5704 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.4162, allocations: 0.6395 MB / 0.571 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009377/0.4171, allocations: 1.264 MB / 0.5723 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4171, allocations: 0 / 0.5723 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4171, allocations: 0 / 0.5723 GB, free: 33.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4172, allocations: 4.844 kB / 0.5723 GB, free: 33.2 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007906/0.4251, allocations: 2.553 MB / 0.5748 GB, free: 32.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4251, allocations: 8.719 kB / 0.5748 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/0.4299, allocations: 0.791 MB / 0.5755 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.4314, allocations: 0.9097 MB / 0.5764 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.4317, allocations: 273.7 kB / 0.5767 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.4319, allocations: 82.5 kB / 0.5768 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4339, allocations: 1.158 MB / 0.5779 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.434, allocations: 9.281 kB / 0.5779 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/0.4341, allocations: 28.47 kB / 0.5779 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.4341, allocations: 22.28 kB / 0.578 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.436, allocations: 1.06 MB / 0.579 GB, free: 31.42 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.006033/0.4421, allocations: 3.973 MB / 0.5829 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007868/0.45, allocations: 2.928 MB / 0.5857 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.4516, allocations: 0.7485 MB / 0.5865 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-05/0.4517, allocations: 14.77 kB / 0.5865 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/0.4534, allocations: 0.892 MB / 0.5874 GB, free: 28.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.945e-06/0.4534, allocations: 0 / 0.5874 GB, free: 28.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03279/0.4862, allocations: 8.83 MB / 0.596 GB, free: 26.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.4863, allocations: 118.5 kB / 0.5961 GB, free: 26.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.4882, allocations: 1.129 MB / 0.5972 GB, free: 26.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002493/0.4885, allocations: 47.42 kB / 0.5972 GB, free: 26.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.4889, allocations: 0.4949 MB / 0.5977 GB, free: 25.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.4893, allocations: 366.4 kB / 0.5981 GB, free: 25.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.4895, allocations: 151.2 kB / 0.5982 GB, free: 25.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.4895, allocations: 302.4 kB / 0.5985 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.4914, allocations: 0.8436 MB / 0.5993 GB, free: 24.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.4933, allocations: 1.01 MB / 0.6003 GB, free: 24.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0267/0.52, allocations: 6.234 MB / 0.6064 GB, free: 22.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.5201, allocations: 1.156 kB / 0.6064 GB, free: 22.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01733/0.5374, allocations: 5.288 MB / 0.6116 GB, free: 21.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/0.5375, allocations: 63.08 kB / 0.6116 GB, free: 21.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.5376, allocations: 4.984 kB / 0.6116 GB, free: 21.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006332/0.5439, allocations: 1.917 MB / 0.6135 GB, free: 19.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.5454, allocations: 295.5 kB / 0.6138 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.5645, allocations: 8.926 MB / 0.6225 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.5667, allocations: 248.1 kB / 0.6227 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.5669, allocations: 59.97 kB / 0.6228 GB, free: 10.08 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007939/0.5677, allocations: 299.7 kB / 0.6231 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.5681, allocations: 130.4 kB / 0.6232 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.5813, allocations: 4.755 MB / 0.6279 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.5814, allocations: 12.56 kB / 0.6279 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/0.5814, allocations: 8.797 kB / 0.6279 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.5814, allocations: 3.984 kB / 0.6279 GB, free: 4.836 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 postOpt removeSimpleEquations (simulation): time 0.01596/0.5974, allocations: 6.356 MB / 0.6341 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.5975, allocations: 4.906 kB / 0.6341 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.5982, allocations: 103.8 kB / 0.6342 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006155/0.6044, allocations: 1.872 MB / 0.636 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/0.6047, allocations: 22.25 kB / 0.636 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/0.6254, allocations: 9.71 MB / 0.6455 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6254, allocations: 0 / 0.6455 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/0.6416, allocations: 5.691 MB / 0.6511 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.6422, allocations: 239.1 kB / 0.6513 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004166/0.6426, allocations: 16.11 kB / 0.6513 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.6442, allocations: 148.7 kB / 0.6515 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006587/0.6449, allocations: 188.7 kB / 0.6516 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.645, allocations: 31.98 kB / 0.6517 GB, free: 12.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.6463, allocations: 0.7553 MB / 0.6524 GB, free: 11.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6463, allocations: 4 kB / 0.6524 GB, free: 11.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001794/0.6481, allocations: 483.5 kB / 0.6529 GB, free: 10.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003331/0.6485, allocations: 135.1 kB / 0.653 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007307/0.6558, allocations: 2.876 MB / 0.6558 GB, free: 7.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6558, allocations: 0 / 0.6558 GB, free: 7.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004658/0.6605, allocations: 1.791 MB / 0.6576 GB, free: 5.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.6619, allocations: 117.8 kB / 0.6577 GB, free: 5.785 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.6667, allocations: 2.947 MB / 0.6606 GB, free: 2.859 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.6675, allocations: 1.128 MB / 0.6617 GB, free: 1.703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.6679, allocations: 83.41 kB / 0.6617 GB, free: 1.621 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6679, allocations: 4 kB / 0.6617 GB, free: 1.617 MB / 462.1 MB Notification: Performance of Templates: time 0.02889/0.6968, allocations: 23.73 MB / 0.6849 GB, free: 10.04 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRIICalcHelperMain.o] Error 1