Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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/Complex 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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009272, allocations: 93.31 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 175.5 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 242.2 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2256/0.2256, allocations: 38.09 MB / 331.5 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 8 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 59.17 MB / 460.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.008751/0.136, allocations: 8.229 MB / 468.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.1416, allocations: 3.331 MB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.1424, allocations: 47.69 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.143, allocations: 186.7 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.1445, allocations: 0.6342 MB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.1453, allocations: 339.4 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.1476, allocations: 2.003 MB / 475.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.1491, allocations: 1.056 MB / 476.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008963/0.15, allocations: 433.9 kB / 476.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008637/0.1509, allocations: 0.619 MB / 477.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-05/0.151, allocations: 40 kB / 477.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.1522, allocations: 467.1 kB / 477.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005468/0.1527, allocations: 410.9 kB / 478.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006299/0.1534, allocations: 495.1 kB / 478.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1548, allocations: 1.056 MB / 479.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1548, allocations: 0 / 479.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1549, allocations: 0 / 479.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.1549, allocations: 0 / 479.8 MB, free: 3.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002565/0.1575, allocations: 1.086 MB / 480.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1575, allocations: 8.031 kB / 480.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.1593, allocations: 211.6 kB / 481.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.1609, allocations: 0.6748 MB / 481.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.161, allocations: 66.36 kB / 481.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.1613, allocations: 99.91 kB / 482 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.1636, allocations: 1.107 MB / 483.1 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/0.1637, allocations: 15.89 kB / 483.1 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.1638, allocations: 35.98 kB / 483.1 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.164, allocations: 69.97 kB / 483.2 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.166, allocations: 0.886 MB / 484.1 MB, free: 15.29 MB / 366.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.006555/0.1726, allocations: 4.093 MB / 488.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.1732, allocations: 424.5 kB / 488.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.1736, allocations: 269.7 kB / 488.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.1737, allocations: 7.938 kB / 488.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1737, allocations: 38.5 kB / 488.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.334e-06/0.1737, allocations: 0 / 488.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.004083/0.1778, allocations: 1.992 MB / 490.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.1779, allocations: 81.55 kB / 491 MB, free: 8.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008894/0.1788, allocations: 0.5694 MB / 491.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.1788, allocations: 37.7 kB / 491.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.1793, allocations: 474.3 kB / 492 MB, free: 6.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.1795, allocations: 189.3 kB / 492.2 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1797, allocations: 69.62 kB / 492.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.18, allocations: 386.7 kB / 492.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/0.1806, allocations: 269.8 kB / 492.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/0.1815, allocations: 0.5043 MB / 493.4 MB, free: 5.438 MB / 366.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/0.1857, allocations: 1.404 MB / 494.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.1857, allocations: 4 kB / 494.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002545/0.1883, allocations: 1.091 MB / 495.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.1883, allocations: 8 kB / 495.9 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001693/0.19, allocations: 0.7606 MB / 496.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/0.1907, allocations: 158.5 kB / 496.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/0.1916, allocations: 175.7 kB / 497 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.1969, allocations: 4.503 MB / 0.4898 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/0.1978, allocations: 48.03 kB / 0.4898 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.024e-05/0.1979, allocations: 39.98 kB / 0.4899 GB, free: 12.68 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007762/0.1987, allocations: 317.4 kB / 0.4902 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.1988, allocations: 67.16 kB / 0.4902 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.2003, allocations: 0.6395 MB / 0.4908 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2003, allocations: 4 kB / 0.4908 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2003, allocations: 4 kB / 0.4909 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2004, allocations: 3.984 kB / 0.4909 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.2036, allocations: 1.51 MB / 0.4923 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.2037, allocations: 11.92 kB / 0.4923 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.2045, allocations: 119.9 kB / 0.4925 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.2045, allocations: 4.188 kB / 0.4925 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.2046, allocations: 27.92 kB / 0.4925 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2046, allocations: 0 / 0.4925 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2046, allocations: 7.938 kB / 0.4925 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.2058, allocations: 0.9474 MB / 0.4934 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.206, allocations: 184.3 kB / 0.4936 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.2061, allocations: 15.94 kB / 0.4936 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.2064, allocations: 23.97 kB / 0.4936 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.2065, allocations: 36.33 kB / 0.4937 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.2065, allocations: 20 kB / 0.4937 GB, free: 8.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004624/0.207, allocations: 411 kB / 0.4941 GB, free: 8.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.207, allocations: 0 / 0.4941 GB, free: 8.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000933/0.208, allocations: 228 kB / 0.4943 GB, free: 7.977 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000298/0.2083, allocations: 146.1 kB / 0.4944 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.2098, allocations: 1.016 MB / 0.4954 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2098, allocations: 4 kB / 0.4954 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.2102, allocations: 266.3 kB / 0.4957 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009156/0.2111, allocations: 162.3 kB / 0.4958 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.2144, allocations: 2.51 MB / 0.4983 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.2151, allocations: 1.082 MB / 0.4993 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.2154, allocations: 71.42 kB / 0.4994 GB, free: 2.602 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2154, allocations: 0 / 0.4994 GB, free: 2.602 MB / 382.1 MB Notification: Performance of Templates: time 0.2491/0.4644, allocations: 15.16 MB / 0.5142 GB, free: 50.21 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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 OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngleCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngleCalcHelperMain.o] Error 1