Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009535, allocations: 92.88 kB / 16.95 MB, free: 6.41 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.001156/0.001156, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.335/1.335, allocations: 223.2 MB / 241.8 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1638/0.1638, allocations: 38.1 MB / 331.1 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 8.844 kB / 400.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.12, allocations: 59.17 MB / 459.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005033/0.125, allocations: 4.443 MB / 464.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.1278, allocations: 1.614 MB / 465.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.1281, allocations: 19.88 kB / 465.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.1283, allocations: 75.39 kB / 466 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006725/0.129, allocations: 302.6 kB / 466.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.1297, allocations: 227.6 kB / 466.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006861/0.1304, allocations: 0.7442 MB / 467.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006942/0.1311, allocations: 430.6 kB / 467.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.1314, allocations: 219 kB / 467.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.1319, allocations: 367 kB / 468.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.132, allocations: 23.98 kB / 468.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.1324, allocations: 179.7 kB / 468.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.1326, allocations: 219.5 kB / 468.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1327, allocations: 105.5 kB / 468.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.1332, allocations: 498.8 kB / 469.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1332, allocations: 0 / 469.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1332, allocations: 0 / 469.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1332, allocations: 0 / 469.3 MB, free: 13.94 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001187/0.1344, allocations: 0.6957 MB / 470 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1345, allocations: 8.031 kB / 470 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.1351, allocations: 91.38 kB / 470.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.1356, allocations: 394 kB / 470.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.1357, allocations: 28.98 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.1358, allocations: 43.98 kB / 470.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009917/0.1368, allocations: 0.6915 MB / 471.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1368, allocations: 11.84 kB / 471.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/0.1369, allocations: 15.98 kB / 471.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/0.1371, allocations: 68.94 kB / 471.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009937/0.1381, allocations: 0.6635 MB / 472 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.1417, allocations: 2.654 MB / 474.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.1423, allocations: 313.2 kB / 474.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.1428, allocations: 205.7 kB / 475.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.1429, allocations: 7.984 kB / 475.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.1429, allocations: 42.5 kB / 475.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.866e-06/0.143, allocations: 3.938 kB / 475.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00238/0.1453, allocations: 1.288 MB / 476.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.1454, allocations: 85.11 kB / 476.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.1457, allocations: 287.2 kB / 476.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1458, allocations: 33.83 kB / 476.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.146, allocations: 255.6 kB / 477.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1461, allocations: 142 kB / 477.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.1461, allocations: 4 kB / 477.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1462, allocations: 342.8 kB / 477.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.1465, allocations: 192.8 kB / 477.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.1469, allocations: 325.3 kB / 478.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.1473, allocations: 251.8 kB / 478.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1473, allocations: 4 kB / 478.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00116/0.1484, allocations: 0.6704 MB / 479 MB, free: 3.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1485, allocations: 8 kB / 479 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007714/0.1493, allocations: 491.4 kB / 479.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.1496, allocations: 109.6 kB / 479.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.15, allocations: 92 kB / 479.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.1526, allocations: 3.014 MB / 482.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1528, allocations: 27.92 kB / 482.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.1529, allocations: 23.95 kB / 482.8 MB, free: 15.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002468/0.1531, allocations: 205.8 kB / 483 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.1533, allocations: 39.56 kB / 483 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007023/0.154, allocations: 464.6 kB / 483.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.154, allocations: 15.98 kB / 483.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.154, allocations: 4 kB / 483.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.154, allocations: 4 kB / 483.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.1554, allocations: 1.017 MB / 484.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1554, allocations: 0 / 484.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.1558, allocations: 67.89 kB / 484.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1558, allocations: 0 / 484.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.1558, allocations: 8 kB / 484.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1558, allocations: 4.062 kB / 484.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1558, allocations: 7.953 kB / 484.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.1568, allocations: 0.7395 MB / 485.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.1569, allocations: 136.7 kB / 485.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.157, allocations: 11.98 kB / 485.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1572, allocations: 19.98 kB / 485.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.1572, allocations: 23.92 kB / 485.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.1573, allocations: 8 kB / 485.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.1575, allocations: 203.1 kB / 485.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1575, allocations: 0 / 485.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.158, allocations: 111.9 kB / 485.8 MB, free: 12.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001931/0.1582, allocations: 119.2 kB / 486 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.1592, allocations: 0.712 MB / 486.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1593, allocations: 1.125 kB / 486.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.1596, allocations: 215.8 kB / 486.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.16, allocations: 56.81 kB / 486.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1619, allocations: 1.398 MB / 488.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.1624, allocations: 0.8704 MB / 489.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1625, allocations: 35.42 kB / 489.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1625, allocations: 0 / 489.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of Templates: time 0.009523/0.172, allocations: 6.798 MB / 496 MB, free: 2.18 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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 OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.o] Error 1