Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000745/0.0007449, allocations: 87.98 kB / 16.02 MB, free: 80 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.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.387 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.001209/0.001209, allocations: 188.4 kB / 291.3 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4469/0.4469, allocations: 78.55 MB / 420.9 MB, free: 4.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.000397, allocations: 12 kB / 0.4893 GB, free: 5.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 69.36 MB / 0.557 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.2718/0.4127, allocations: 6.39 MB / 0.5633 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.4163, allocations: 1.995 MB / 0.5652 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.4168, allocations: 13.72 kB / 0.5652 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.4174, allocations: 184.3 kB / 0.5654 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.4189, allocations: 0.6985 MB / 0.5661 GB, free: 34.68 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.4201, allocations: 0.5906 MB / 0.5667 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.4213, allocations: 1.492 MB / 0.5681 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.4217, allocations: 285 kB / 0.5684 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005834/0.4223, allocations: 0.5687 MB / 0.569 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.423, allocations: 0.7458 MB / 0.5697 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.4231, allocations: 58.28 kB / 0.5697 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.4235, allocations: 194.9 kB / 0.5699 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.4237, allocations: 259 kB / 0.5702 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.4241, allocations: 0.6207 MB / 0.5708 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008593/0.425, allocations: 1.227 MB / 0.572 GB, free: 33.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.425, allocations: 0 / 0.572 GB, free: 33.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.425, allocations: 1.312 kB / 0.572 GB, free: 33.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.425, allocations: 0.5625 kB / 0.572 GB, free: 33.24 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007386/0.4324, allocations: 2.494 MB / 0.5744 GB, free: 32.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4325, allocations: 9.281 kB / 0.5744 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.4371, allocations: 0.7838 MB / 0.5752 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.4385, allocations: 0.8858 MB / 0.576 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.4387, allocations: 270.5 kB / 0.5763 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.4389, allocations: 88.86 kB / 0.5764 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.4409, allocations: 1.148 MB / 0.5775 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.4409, allocations: 0 / 0.5775 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.441, allocations: 30.81 kB / 0.5775 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.4411, allocations: 18.38 kB / 0.5776 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.443, allocations: 1.053 MB / 0.5786 GB, free: 31.47 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.005934/0.4489, allocations: 3.905 MB / 0.5824 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007559/0.4565, allocations: 2.911 MB / 0.5852 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.4581, allocations: 0.7406 MB / 0.586 GB, free: 29.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.9e-05/0.4582, allocations: 18.56 kB / 0.586 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/0.4599, allocations: 0.8832 MB / 0.5868 GB, free: 28.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.494e-06/0.4599, allocations: 0 / 0.5868 GB, free: 28.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03192/0.4918, allocations: 8.667 MB / 0.5953 GB, free: 27.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.4919, allocations: 122.1 kB / 0.5954 GB, free: 26.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.4939, allocations: 1.084 MB / 0.5965 GB, free: 26.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002741/0.4942, allocations: 41.48 kB / 0.5965 GB, free: 26.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.4946, allocations: 498.7 kB / 0.597 GB, free: 26.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/0.495, allocations: 357.7 kB / 0.5973 GB, free: 25.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.4953, allocations: 145.1 kB / 0.5975 GB, free: 25.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.4953, allocations: 302.5 kB / 0.5978 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.4971, allocations: 0.8304 MB / 0.5986 GB, free: 25.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.4991, allocations: 1.001 MB / 0.5996 GB, free: 24.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02529/0.5244, allocations: 6.01 MB / 0.6054 GB, free: 22.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.5245, allocations: 1.344 kB / 0.6054 GB, free: 22.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01787/0.5424, allocations: 5.174 MB / 0.6105 GB, free: 21.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.439e-05/0.5425, allocations: 60.5 kB / 0.6105 GB, free: 21.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.5426, allocations: 4.625 kB / 0.6105 GB, free: 21.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007364/0.55, allocations: 1.787 MB / 0.6123 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.5519, allocations: 296.2 kB / 0.6126 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/0.5702, allocations: 8.618 MB / 0.621 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.5723, allocations: 231.4 kB / 0.6212 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002908/0.5727, allocations: 55.97 kB / 0.6213 GB, free: 11.58 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009352/0.5736, allocations: 305.5 kB / 0.6216 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/0.574, allocations: 126.4 kB / 0.6217 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.5872, allocations: 4.725 MB / 0.6263 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.5872, allocations: 12 kB / 0.6263 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/0.5873, allocations: 7.938 kB / 0.6263 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.5873, allocations: 3.984 kB / 0.6263 GB, free: 6.363 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.01541/0.6027, allocations: 6.302 MB / 0.6325 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.6028, allocations: 4 kB / 0.6325 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.6034, allocations: 95.84 kB / 0.6326 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006001/0.6095, allocations: 1.902 MB / 0.6344 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/0.6097, allocations: 20 kB / 0.6344 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/0.6307, allocations: 9.663 MB / 0.6439 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6308, allocations: 0 / 0.6439 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/0.647, allocations: 5.647 MB / 0.6494 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/0.6477, allocations: 223.2 kB / 0.6496 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.6482, allocations: 20.56 kB / 0.6496 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.6497, allocations: 147.9 kB / 0.6498 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007063/0.6504, allocations: 192.7 kB / 0.6499 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.6506, allocations: 28 kB / 0.65 GB, free: 13.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001331/0.6519, allocations: 0.7274 MB / 0.6507 GB, free: 12.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.652, allocations: 0 / 0.6507 GB, free: 12.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0019/0.6539, allocations: 471.5 kB / 0.6511 GB, free: 12.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003714/0.6543, allocations: 133 kB / 0.6513 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006904/0.6612, allocations: 2.792 MB / 0.654 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.6612, allocations: 0.75 kB / 0.654 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004884/0.6661, allocations: 1.82 MB / 0.6558 GB, free: 7.676 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.6678, allocations: 118.2 kB / 0.6559 GB, free: 7.562 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.6732, allocations: 2.817 MB / 0.6586 GB, free: 4.754 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/0.6741, allocations: 1.12 MB / 0.6597 GB, free: 3.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.6745, allocations: 83.41 kB / 0.6598 GB, free: 3.52 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6746, allocations: 0 / 0.6598 GB, free: 3.52 MB / 462.1 MB Notification: Performance of Templates: time 0.03419/0.7088, allocations: 23.3 MB / 0.6826 GB, free: 12.39 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRIICalcHelperMain.o] Error 1