Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008765/0.0008763, allocations: 91.92 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.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.398 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.00104/0.001039, allocations: 172.5 kB / 291.3 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.505/0.505, allocations: 78.55 MB / 420.9 MB, free: 4.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003911, allocations: 16 kB / 0.4893 GB, free: 5.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 69.36 MB / 0.557 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.3062/0.4584, allocations: 6.397 MB / 0.5633 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005374/0.4638, allocations: 1.994 MB / 0.5652 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.4658, allocations: 12.88 kB / 0.5652 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.4672, allocations: 187.1 kB / 0.5654 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.4708, allocations: 0.7 MB / 0.5661 GB, free: 34.7 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.001766/0.4726, allocations: 0.5894 MB / 0.5667 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.4752, allocations: 1.495 MB / 0.5681 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.476, allocations: 281.4 kB / 0.5684 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.4771, allocations: 0.5674 MB / 0.569 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.4779, allocations: 0.7478 MB / 0.5697 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.478, allocations: 59.12 kB / 0.5697 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.4785, allocations: 197.3 kB / 0.5699 GB, free: 33.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.4788, allocations: 262.2 kB / 0.5702 GB, free: 33.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005312/0.4793, allocations: 0.6237 MB / 0.5708 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.4804, allocations: 1.221 MB / 0.572 GB, free: 33.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4804, allocations: 2.562 kB / 0.572 GB, free: 33.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4804, allocations: 0 / 0.572 GB, free: 33.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.4804, allocations: 0 / 0.572 GB, free: 33.26 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.007915/0.4883, allocations: 2.495 MB / 0.5744 GB, free: 32.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4884, allocations: 12.81 kB / 0.5744 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/0.4934, allocations: 0.7839 MB / 0.5752 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.4951, allocations: 0.8768 MB / 0.5761 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.4954, allocations: 275.8 kB / 0.5763 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.4956, allocations: 83.12 kB / 0.5764 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.4977, allocations: 1.154 MB / 0.5775 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.4977, allocations: 0 / 0.5775 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.4979, allocations: 34.34 kB / 0.5776 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.4979, allocations: 17.69 kB / 0.5776 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.4999, allocations: 1.048 MB / 0.5786 GB, free: 31.5 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.006678/0.5066, allocations: 3.907 MB / 0.5824 GB, free: 30.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007711/0.5143, allocations: 2.908 MB / 0.5853 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.5163, allocations: 0.7379 MB / 0.586 GB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.5164, allocations: 27.64 kB / 0.586 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001875/0.5183, allocations: 0.8829 MB / 0.5869 GB, free: 28.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.775e-06/0.5183, allocations: 0 / 0.5869 GB, free: 28.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03244/0.5508, allocations: 8.665 MB / 0.5953 GB, free: 27.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.5509, allocations: 123.5 kB / 0.5954 GB, free: 26.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.5529, allocations: 1.082 MB / 0.5965 GB, free: 26.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.5532, allocations: 42.34 kB / 0.5965 GB, free: 26.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.5537, allocations: 494.6 kB / 0.597 GB, free: 26.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.5541, allocations: 357.3 kB / 0.5973 GB, free: 25.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.5544, allocations: 145.7 kB / 0.5975 GB, free: 25.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.5545, allocations: 305.1 kB / 0.5978 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.5563, allocations: 0.824 MB / 0.5986 GB, free: 25.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.5582, allocations: 1 MB / 0.5996 GB, free: 24.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02699/0.5852, allocations: 6.012 MB / 0.6054 GB, free: 22.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.5853, allocations: 8.031 kB / 0.6054 GB, free: 22.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01651/0.6018, allocations: 5.17 MB / 0.6105 GB, free: 21.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.6019, allocations: 62 kB / 0.6105 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.6019, allocations: 2.375 kB / 0.6105 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006044/0.608, allocations: 1.79 MB / 0.6123 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.6095, allocations: 295.6 kB / 0.6126 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.6277, allocations: 8.612 MB / 0.621 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.63, allocations: 231.3 kB / 0.6212 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.6302, allocations: 59.97 kB / 0.6213 GB, free: 11.5 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.0006864/0.6309, allocations: 310.5 kB / 0.6216 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.631, allocations: 122.4 kB / 0.6217 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.644, allocations: 4.718 MB / 0.6263 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.6441, allocations: 12.5 kB / 0.6263 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.6441, allocations: 7.938 kB / 0.6263 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.6441, allocations: 11.97 kB / 0.6263 GB, free: 6.285 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.01441/0.6585, allocations: 6.301 MB / 0.6325 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.6586, allocations: 0.5 kB / 0.6325 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/0.6593, allocations: 95.89 kB / 0.6326 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006123/0.6654, allocations: 1.896 MB / 0.6344 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/0.6657, allocations: 24.61 kB / 0.6344 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02121/0.6869, allocations: 9.659 MB / 0.6439 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6869, allocations: 3.938 kB / 0.6439 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/0.7035, allocations: 5.652 MB / 0.6494 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/0.7041, allocations: 227.2 kB / 0.6496 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.7043, allocations: 23.94 kB / 0.6496 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.7055, allocations: 144.9 kB / 0.6498 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006172/0.7062, allocations: 188.7 kB / 0.65 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/0.7063, allocations: 31.98 kB / 0.65 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.7074, allocations: 0.7274 MB / 0.6507 GB, free: 12.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7075, allocations: 0 / 0.6507 GB, free: 12.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001525/0.709, allocations: 467.5 kB / 0.6511 GB, free: 12.42 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.0003097/0.7093, allocations: 140.9 kB / 0.6513 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007179/0.7165, allocations: 2.788 MB / 0.654 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.7165, allocations: 0.75 kB / 0.654 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004901/0.7214, allocations: 1.816 MB / 0.6558 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.7227, allocations: 123.7 kB / 0.6559 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.7268, allocations: 2.819 MB / 0.6586 GB, free: 4.668 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.7276, allocations: 1.116 MB / 0.6597 GB, free: 3.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.728, allocations: 87.41 kB / 0.6598 GB, free: 3.434 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.728, allocations: 4 kB / 0.6598 GB, free: 3.43 MB / 462.1 MB Notification: Performance of Templates: time 0.03174/0.7598, allocations: 23.31 MB / 0.6826 GB, free: 12.32 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_ContinuousCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_ContinuousCalcHelperMain.o] Error 1