Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008083/0.0008084, 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.514/1.514, allocations: 223.3 MB / 239.7 MB, free: 5.645 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.001583/0.001582, allocations: 192.5 kB / 290.9 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5279/0.5279, allocations: 79.48 MB / 421.5 MB, free: 3.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 12 kB / 0.4897 GB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 69.51 MB / 0.5576 GB, free: 32 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.3206/0.4605, allocations: 20.97 MB / 0.5781 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.4758, allocations: 4.964 MB / 0.583 GB, free: 24.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006979/0.4829, allocations: 52.59 kB / 0.583 GB, free: 24.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0042/0.4871, allocations: 0.6142 MB / 0.5836 GB, free: 24.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009779/0.4969, allocations: 1.756 MB / 0.5853 GB, free: 23.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005981/0.5029, allocations: 1.773 MB / 0.587 GB, free: 22.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009523/0.5124, allocations: 5.219 MB / 0.5921 GB, free: 19.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/0.5159, allocations: 1.06 MB / 0.5932 GB, free: 19.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004642/0.5206, allocations: 2.018 MB / 0.5952 GB, free: 18.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005637/0.5262, allocations: 2.614 MB / 0.5977 GB, free: 17.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002376/0.5286, allocations: 236.5 kB / 0.5979 GB, free: 17.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.5325, allocations: 374.1 kB / 0.5983 GB, free: 17.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002657/0.5352, allocations: 0.9146 MB / 0.5992 GB, free: 16.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003629/0.5389, allocations: 0.8356 MB / 0.6 GB, free: 16.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008841/0.5477, allocations: 4.67 MB / 0.6046 GB, free: 14.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.5478, allocations: 1.281 kB / 0.6046 GB, free: 14.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.5478, allocations: 0 / 0.6046 GB, free: 14.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004223/0.5482, allocations: 4 kB / 0.6046 GB, free: 14.55 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03549/0.5837, allocations: 8.516 MB / 0.6129 GB, free: 11.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.019e-05/0.5838, allocations: 9.625 kB / 0.6129 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02846/0.6123, allocations: 4.051 MB / 0.6168 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.623, allocations: 2.519 MB / 0.6193 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001599/0.6246, allocations: 0.9932 MB / 0.6203 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002554/0.6272, allocations: 351.6 kB / 0.6206 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/0.6479, allocations: 4.97 MB / 0.6255 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/0.6482, allocations: 2.062 kB / 0.6255 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001978/0.6501, allocations: 144.4 kB / 0.6256 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/0.6503, allocations: 88.95 kB / 0.6257 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.6638, allocations: 4.495 MB / 0.6301 GB, free: 2.734 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.04614/0.71, allocations: 18.85 MB / 0.6485 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.7234, allocations: 5.738 MB / 0.6541 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006827/0.7303, allocations: 3.048 MB / 0.6571 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009012/0.7312, allocations: 66.92 kB / 0.6571 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008593/0.7398, allocations: 3.444 MB / 0.6605 GB, free: 2.266 MB / 462.1 MB Notification: Performance of pre-optimization done (n=384): time 9.217e-06/0.7399, allocations: 0 / 0.6605 GB, free: 2.266 MB / 462.1 MB Notification: Performance of matching and sorting (n=384): time 0.2964/1.036, allocations: 80.93 MB / 0.7395 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.036, allocations: 141.8 kB / 0.7397 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006815/1.043, allocations: 3.219 MB / 0.7428 GB, free: 13.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/1.045, allocations: 89.7 kB / 0.7429 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.047, allocations: 1.99 MB / 0.7448 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002653/1.049, allocations: 1.305 MB / 0.7461 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.05, allocations: 88 kB / 0.7462 GB, free: 10.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003807/1.051, allocations: 463.1 kB / 0.7466 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006787/1.057, allocations: 2.847 MB / 0.7494 GB, free: 6.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007285/1.065, allocations: 3.485 MB / 0.7528 GB, free: 3.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007234/1.072, allocations: 3.128 MB / 0.7559 GB, free: 72 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-05/1.072, allocations: 7.953 kB / 0.7559 GB, free: 64 kB / 0.545 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.4141/1.486, allocations: 20.78 MB / 0.7762 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.602e-05/1.486, allocations: 66.08 kB / 0.7762 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.294e-05/1.486, allocations: 17.77 kB / 0.7762 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02611/1.512, allocations: 8.614 MB / 0.7847 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003887/1.516, allocations: 0.6884 MB / 0.7853 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1064/1.623, allocations: 35.41 MB / 0.8199 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00804/1.631, allocations: 0.7532 MB / 0.8206 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/1.633, allocations: 149.8 kB / 0.8208 GB, free: 149.5 MB / 0.5606 GB 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 order3.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (405): * Single equations (assignments): 402 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.004774/1.638, allocations: 0.6809 MB / 0.8215 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002828/1.64, allocations: 457.4 kB / 0.8219 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05718/1.698, allocations: 20.64 MB / 0.842 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/1.698, allocations: 36 kB / 0.8421 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001559/1.698, allocations: 28 kB / 0.8421 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001999/1.698, allocations: 19.17 kB / 0.8421 GB, free: 137.6 MB / 0.5606 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.07041/1.769, allocations: 25.65 MB / 0.8672 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.716e-05/1.769, allocations: 4 kB / 0.8672 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/1.772, allocations: 391.5 kB / 0.8675 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02515/1.797, allocations: 8.705 MB / 0.876 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001414/1.798, allocations: 73.05 kB / 0.8761 GB, free: 103 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07468/1.873, allocations: 32.64 MB / 0.908 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.873, allocations: 1.312 kB / 0.908 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06086/1.934, allocations: 24.26 MB / 0.9317 GB, free: 45.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002266/1.936, allocations: 0.561 MB / 0.9322 GB, free: 45.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002483/1.939, allocations: 69.7 kB / 0.9323 GB, free: 45.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00594/1.945, allocations: 0.5014 MB / 0.9328 GB, free: 44.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004488/1.949, allocations: 0.7841 MB / 0.9336 GB, free: 43.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001198/1.95, allocations: 95.98 kB / 0.9336 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004861/1.955, allocations: 2.11 MB / 0.9357 GB, free: 41.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.11e-07/1.955, allocations: 0 / 0.9357 GB, free: 41.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01016/1.965, allocations: 1.806 MB / 0.9375 GB, free: 39.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(100,5.5%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/1.967, allocations: 198.2 kB / 0.9377 GB, free: 39.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02486/1.991, allocations: 10.3 MB / 0.9477 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.992, allocations: 3.828 kB / 0.9477 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01845/2.01, allocations: 7.071 MB / 0.9546 GB, free: 22.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006945/2.017, allocations: 389.9 kB / 0.955 GB, free: 21.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/2.036, allocations: 9.48 MB / 0.9643 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/2.037, allocations: 2.454 MB / 0.9667 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/2.039, allocations: 263.4 kB / 0.9669 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of SimCode: time 2.064e-06/2.039, allocations: 7.719 kB / 0.9669 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of Templates: time 0.3863/2.425, allocations: 88.45 MB / 1.053 GB, free: 148.2 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRIICalcHelperMain.o] Error 1