Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000742/0.0007422, allocations: 93.7 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.0008723/0.0008725, allocations: 175.9 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.394/1.394, allocations: 223.2 MB / 242.2 MB, free: 252 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2436/0.2436, allocations: 38.1 MB / 331.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004647, allocations: 8.234 kB / 401.4 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 59.16 MB / 460.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004936/0.1207, allocations: 4.195 MB / 464.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1222, allocations: 1.04 MB / 465.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1224, allocations: 27.75 kB / 465.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1225, allocations: 31.77 kB / 465.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.1229, allocations: 151.3 kB / 466 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.1231, allocations: 75.86 kB / 466 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.1236, allocations: 0.4946 MB / 466.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1238, allocations: 72.78 kB / 466.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.124, allocations: 139.2 kB / 466.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.1243, allocations: 163.4 kB / 466.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1244, allocations: 8 kB / 466.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.8e-05/0.1244, allocations: 12 kB / 466.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.992e-05/0.1245, allocations: 75.73 kB / 467 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1247, allocations: 141 kB / 467.1 MB, free: 448 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1249, allocations: 187.5 kB / 467.3 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1249, allocations: 7.938 kB / 467.3 MB, free: 252 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1249, allocations: 0 / 467.3 MB, free: 252 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1249, allocations: 0 / 467.3 MB, free: 252 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007973/0.1257, allocations: 0.5194 MB / 467.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1257, allocations: 12.03 kB / 467.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.1258, allocations: 28.64 kB / 467.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.1262, allocations: 304 kB / 468.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1262, allocations: 20.38 kB / 468.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.1263, allocations: 19.94 kB / 468.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.1267, allocations: 266.1 kB / 468.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1267, allocations: 3.938 kB / 468.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1267, allocations: 12 kB / 468.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1267, allocations: 4 kB / 468.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.127, allocations: 159.8 kB / 468.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.1283, allocations: 1.191 MB / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1284, allocations: 77.14 kB / 469.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.1285, allocations: 29.78 kB / 469.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1285, allocations: 0 / 469.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1285, allocations: 34.56 kB / 470 MB, free: 13.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1285, allocations: 0 / 470 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000654/0.1292, allocations: 420.6 kB / 470.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1293, allocations: 81.05 kB / 470.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1295, allocations: 246.6 kB / 470.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1295, allocations: 25.7 kB / 470.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1296, allocations: 195.8 kB / 470.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.1297, allocations: 27.56 kB / 471 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.1297, allocations: 21.7 kB / 471 MB, free: 12.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1298, allocations: 334.8 kB / 471.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.1299, allocations: 27.98 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.13, allocations: 126.9 kB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.1302, allocations: 164.7 kB / 471.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1302, allocations: 0 / 471.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002506/0.1305, allocations: 181.6 kB / 471.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1305, allocations: 8.094 kB / 471.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1305, allocations: 4.078 kB / 471.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1305, allocations: 7.938 kB / 471.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1307, allocations: 39.92 kB / 471.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1307, allocations: 11.97 kB / 471.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.1308, allocations: 8 kB / 471.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1308, allocations: 16 kB / 471.9 MB, free: 11.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.131, allocations: 145.7 kB / 472 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.131, allocations: 23.72 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.1312, allocations: 107.2 kB / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1312, allocations: 0 / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1312, allocations: 0 / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1312, allocations: 3.984 kB / 472.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.1316, allocations: 423.2 kB / 472.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1317, allocations: 0 / 472.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.489e-05/0.1317, allocations: 12 kB / 472.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1318, allocations: 8.016 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1318, allocations: 4 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1318, allocations: 0 / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1318, allocations: 4 kB / 472.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.132, allocations: 224.8 kB / 472.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.1321, allocations: 100.9 kB / 472.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1321, allocations: 4.5 kB / 472.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.1322, allocations: 4 kB / 472.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1322, allocations: 11.86 kB / 472.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.1323, allocations: 12 kB / 473 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.1324, allocations: 170 kB / 473.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 473.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1327, allocations: 40 kB / 473.2 MB, free: 9.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001047/0.1328, allocations: 95.23 kB / 473.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.133, allocations: 87.8 kB / 473.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.133, allocations: 0 / 473.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.133, allocations: 27.92 kB / 473.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.1335, allocations: 65.48 kB / 473.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.1344, allocations: 0.6535 MB / 474.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1347, allocations: 0.7599 MB / 474.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.1348, allocations: 19.44 kB / 474.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1348, allocations: 0 / 474.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Templates: time 0.004794/0.1396, allocations: 2.619 MB / 477.5 MB, free: 5.457 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Elementary.SourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.SourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.SourceCalcHelperMain.o] Error 1