Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008317/0.0008325, allocations: 90.3 kB / 17.31 MB, free: 5.57 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.0008693/0.0008694, allocations: 181.8 kB / 18.22 MB, free: 5.145 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.497/1.497, allocations: 223.3 MB / 242.2 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1883/0.1883, allocations: 38.09 MB / 331.5 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 11.98 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 59.17 MB / 460.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008309/0.1539, allocations: 6.131 MB / 466.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.1572, allocations: 1.605 MB / 468.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.1577, allocations: 43.69 kB / 468.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.1582, allocations: 115.3 kB / 468.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1592, allocations: 338.6 kB / 468.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1595, allocations: 123.9 kB / 468.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1608, allocations: 1.142 MB / 470 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.1611, allocations: 160.2 kB / 470.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.1616, allocations: 282.6 kB / 470.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006658/0.1623, allocations: 378.7 kB / 470.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.1624, allocations: 20 kB / 470.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.1624, allocations: 27.94 kB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.1627, allocations: 171.5 kB / 471 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.1629, allocations: 256.4 kB / 471.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.1634, allocations: 399 kB / 471.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1634, allocations: 4 kB / 471.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1634, allocations: 0 / 471.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1635, allocations: 0 / 471.7 MB, free: 11.84 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001369/0.1648, allocations: 0.723 MB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1649, allocations: 12.02 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.579e-05/0.165, allocations: 52.28 kB / 472.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.1657, allocations: 456.4 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.1657, allocations: 36.92 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.1658, allocations: 39.91 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.1666, allocations: 0.5 MB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1667, allocations: 0 / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.1667, allocations: 12 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.1668, allocations: 21 kB / 473.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.1674, allocations: 367.6 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.1705, allocations: 2.091 MB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.171, allocations: 245.3 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.1713, allocations: 125.7 kB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1713, allocations: 0 / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1713, allocations: 38.56 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.1713, allocations: 0 / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.00128/0.1726, allocations: 0.7654 MB / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.1727, allocations: 81.11 kB / 477.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.1732, allocations: 385.4 kB / 477.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1732, allocations: 29.7 kB / 477.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.1735, allocations: 291 kB / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.1736, allocations: 82.84 kB / 478 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.1736, allocations: 37.83 kB / 478 MB, free: 5.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.1738, allocations: 358.7 kB / 478.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.174, allocations: 88.81 kB / 478.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.1743, allocations: 277.2 kB / 478.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.1748, allocations: 412.3 kB / 479.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1748, allocations: 0 / 479.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007396/0.1756, allocations: 456 kB / 479.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.1756, allocations: 10.5 kB / 479.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1756, allocations: 4 kB / 479.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.1758, allocations: 56.83 kB / 479.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.1761, allocations: 79.84 kB / 479.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.1778, allocations: 1.496 MB / 481.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.1781, allocations: 16 kB / 481.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1781, allocations: 24 kB / 481.3 MB, free: 1.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002773/0.1784, allocations: 197.6 kB / 481.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.1785, allocations: 43.44 kB / 481.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.1789, allocations: 241.1 kB / 481.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1789, allocations: 4 kB / 481.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1789, allocations: 3.938 kB / 481.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1789, allocations: 0 / 481.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.1798, allocations: 0.6819 MB / 482.4 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1798, allocations: 0 / 482.4 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.1801, allocations: 55.91 kB / 482.5 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1801, allocations: 0 / 482.5 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1801, allocations: 11.97 kB / 482.5 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1801, allocations: 0 / 482.5 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1801, allocations: 0 / 482.5 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.1807, allocations: 437 kB / 482.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.1808, allocations: 128.6 kB / 483 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.1808, allocations: 8 kB / 483 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.181, allocations: 12.05 kB / 483.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.181, allocations: 19.97 kB / 483.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.181, allocations: 4 kB / 483.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.1813, allocations: 259.1 kB / 483.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1813, allocations: 0 / 483.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.1818, allocations: 92 kB / 483.4 MB, free: 15.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0001324/0.1819, allocations: 99.19 kB / 483.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006791/0.1826, allocations: 391.6 kB / 483.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1826, allocations: 3.938 kB / 483.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.1828, allocations: 100.3 kB / 484 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/0.1834, allocations: 85.44 kB / 484.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1849, allocations: 1.106 MB / 485.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.1854, allocations: 0.8587 MB / 486.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.1855, allocations: 39.44 kB / 486.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1855, allocations: 0 / 486.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of Templates: time 0.009873/0.1954, allocations: 5.899 MB / 492 MB, free: 6.598 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhaseCalcHelperMain.o] Error 1