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.001091/0.001091, allocations: 99.59 kB / 15.71 MB, free: 452 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.539/1.539, allocations: 223.3 MB / 239.7 MB, free: 5.625 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.001256/0.001256, allocations: 176.5 kB / 290.9 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5232/0.5232, allocations: 78.56 MB / 420.6 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003949, allocations: 11.94 kB / 0.4887 GB, free: 6.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 69.36 MB / 0.5564 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.4069/0.5894, allocations: 6.002 MB / 0.5623 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004206/0.5937, allocations: 1.896 MB / 0.5641 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.5942, allocations: 12.12 kB / 0.5641 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006378/0.5949, allocations: 176.1 kB / 0.5643 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.5966, allocations: 0.6584 MB / 0.5649 GB, free: 36.96 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.0012/0.5978, allocations: 0.5248 MB / 0.5655 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.5991, allocations: 1.407 MB / 0.5668 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/0.5996, allocations: 265.5 kB / 0.5671 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.6002, allocations: 0.5597 MB / 0.5676 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.601, allocations: 0.7263 MB / 0.5683 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.6011, allocations: 59.34 kB / 0.5684 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.6015, allocations: 182.6 kB / 0.5686 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.6018, allocations: 247.3 kB / 0.5688 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.6021, allocations: 229.6 kB / 0.569 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.6032, allocations: 1.231 MB / 0.5702 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6032, allocations: 1.312 kB / 0.5702 GB, free: 35.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.6032, allocations: 0 / 0.5702 GB, free: 35.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.6032, allocations: 0 / 0.5702 GB, free: 35.87 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.007014/0.6102, allocations: 2.506 MB / 0.5727 GB, free: 34.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6103, allocations: 13.09 kB / 0.5727 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.6148, allocations: 0.7875 MB / 0.5735 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.6163, allocations: 0.8415 MB / 0.5743 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/0.6166, allocations: 270.3 kB / 0.5745 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.6167, allocations: 84.28 kB / 0.5746 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.6189, allocations: 1.141 MB / 0.5757 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.6189, allocations: 0 / 0.5757 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.266e-05/0.619, allocations: 29.25 kB / 0.5758 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.619, allocations: 22.88 kB / 0.5758 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.621, allocations: 1.048 MB / 0.5768 GB, free: 33.76 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.006041/0.627, allocations: 3.905 MB / 0.5806 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007253/0.6343, allocations: 2.91 MB / 0.5835 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.6361, allocations: 0.7446 MB / 0.5842 GB, free: 30.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.6362, allocations: 14.72 kB / 0.5842 GB, free: 30.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.638, allocations: 0.8752 MB / 0.5851 GB, free: 30.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.206e-06/0.638, allocations: 0.6562 kB / 0.5851 GB, free: 30.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02851/0.6665, allocations: 8.639 MB / 0.5935 GB, free: 28.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.6666, allocations: 122.2 kB / 0.5936 GB, free: 28.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.6686, allocations: 1.07 MB / 0.5947 GB, free: 27.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.6689, allocations: 41.36 kB / 0.5947 GB, free: 27.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003801/0.6693, allocations: 0.4911 MB / 0.5952 GB, free: 27.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/0.6697, allocations: 353.3 kB / 0.5955 GB, free: 27.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.6698, allocations: 30.25 kB / 0.5955 GB, free: 27.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.67, allocations: 366.2 kB / 0.5959 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.6716, allocations: 0.8172 MB / 0.5967 GB, free: 26.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.6735, allocations: 0.9955 MB / 0.5977 GB, free: 26.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.6753, allocations: 0.9584 MB / 0.5986 GB, free: 25.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.6753, allocations: 4.922 kB / 0.5986 GB, free: 25.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01449/0.6898, allocations: 5.158 MB / 0.6036 GB, free: 24.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.6899, allocations: 60.22 kB / 0.6037 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.69, allocations: 5.844 kB / 0.6037 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006552/0.6965, allocations: 1.897 MB / 0.6056 GB, free: 24.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.6983, allocations: 298 kB / 0.6058 GB, free: 24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.7197, allocations: 9.013 MB / 0.6146 GB, free: 18.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.7218, allocations: 238.6 kB / 0.6149 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003437/0.7222, allocations: 55.97 kB / 0.6149 GB, free: 17.92 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 2 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009807/0.7232, allocations: 312.8 kB / 0.6152 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.7236, allocations: 126.4 kB / 0.6153 GB, free: 17.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.7357, allocations: 4.709 MB / 0.6199 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.7358, allocations: 12 kB / 0.6199 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-05/0.7358, allocations: 8 kB / 0.62 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/0.7358, allocations: 8.688 kB / 0.62 GB, free: 12.71 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.01457/0.7504, allocations: 6.297 MB / 0.6261 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.7505, allocations: 0 / 0.6261 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.7512, allocations: 103.8 kB / 0.6262 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005097/0.7563, allocations: 1.884 MB / 0.6281 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/0.7566, allocations: 24.98 kB / 0.6281 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.776, allocations: 9.64 MB / 0.6375 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.776, allocations: 7.953 kB / 0.6375 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.7917, allocations: 5.635 MB / 0.643 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/0.7925, allocations: 224.2 kB / 0.6432 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005442/0.7931, allocations: 27.88 kB / 0.6432 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.7946, allocations: 147.9 kB / 0.6434 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007242/0.7954, allocations: 188.7 kB / 0.6436 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.7955, allocations: 36.98 kB / 0.6436 GB, free: 4.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001538/0.7971, allocations: 0.7169 MB / 0.6443 GB, free: 3.344 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7971, allocations: 0 / 0.6443 GB, free: 3.344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002389/0.7995, allocations: 479.4 kB / 0.6448 GB, free: 2.875 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,21.8%) 11} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004144/0.7999, allocations: 131.8 kB / 0.6449 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007048/0.807, allocations: 2.782 MB / 0.6476 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.807, allocations: 0 / 0.6476 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004613/0.8117, allocations: 1.825 MB / 0.6494 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.8133, allocations: 111.5 kB / 0.6495 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/0.8186, allocations: 2.698 MB / 0.6521 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009927/0.8196, allocations: 1.12 MB / 0.6532 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.8201, allocations: 83.41 kB / 0.6533 GB, free: 10.04 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8201, allocations: 0 / 0.6533 GB, free: 10.04 MB / 462.1 MB Notification: Performance of Templates: time 0.0433/0.8634, allocations: 23.42 MB / 0.6762 GB, free: 2.758 MB / 478.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++ 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.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