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.0009988/0.0009995, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.0009717/0.0009717, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1656/0.1656, allocations: 38.02 MB / 329.9 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 61.83 kB / 398.7 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1234, allocations: 58.05 MB / 456.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005741/0.1292, allocations: 4.558 MB / 461.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1308, allocations: 1.056 MB / 462.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.131, allocations: 31.75 kB / 462.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.1312, allocations: 35.77 kB / 462.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.1316, allocations: 151.3 kB / 462.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.1318, allocations: 75.84 kB / 462.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.1323, allocations: 0.4946 MB / 463.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.1325, allocations: 72.8 kB / 463.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.1327, allocations: 143.2 kB / 463.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.133, allocations: 167.4 kB / 463.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.133, allocations: 12 kB / 463.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.221e-05/0.1331, allocations: 12 kB / 463.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1332, allocations: 83.72 kB / 463.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1333, allocations: 115.4 kB / 463.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1335, allocations: 195.5 kB / 464 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1336, allocations: 0 / 464 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1336, allocations: 0 / 464 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1336, allocations: 0 / 464 MB, free: 1.293 MB / 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.0008627/0.1344, allocations: 0.5584 MB / 464.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1345, allocations: 12.03 kB / 464.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.1346, allocations: 28.56 kB / 464.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.1349, allocations: 300 kB / 464.9 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.135, allocations: 24.38 kB / 464.9 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.135, allocations: 16 kB / 464.9 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1354, allocations: 278 kB / 465.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1354, allocations: 0 / 465.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.1355, allocations: 12 kB / 465.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1355, allocations: 4 kB / 465.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.1357, allocations: 159.8 kB / 465.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.137, allocations: 1.183 MB / 466.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1371, allocations: 77.11 kB / 466.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.1372, allocations: 33.81 kB / 466.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.1372, allocations: 0 / 466.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1372, allocations: 34.5 kB / 466.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1372, allocations: 4 kB / 466.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006816/0.1379, allocations: 408.9 kB / 467.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.138, allocations: 81.05 kB / 467.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1382, allocations: 250.5 kB / 467.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1382, allocations: 25.7 kB / 467.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1384, allocations: 187.6 kB / 467.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1384, allocations: 35.64 kB / 467.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1385, allocations: 45.5 kB / 467.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1386, allocations: 334.8 kB / 468 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.1387, allocations: 27.98 kB / 468 MB, free: 12.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1388, allocations: 123 kB / 468.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.139, allocations: 160.7 kB / 468.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.139, allocations: 0 / 468.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000236/0.1392, allocations: 193.2 kB / 468.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1392, allocations: 10.33 kB / 468.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1393, allocations: 7.938 kB / 468.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1393, allocations: 4 kB / 468.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1394, allocations: 40.36 kB / 468.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1395, allocations: 15.94 kB / 468.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.284e-05/0.1396, allocations: 11.91 kB / 468.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1396, allocations: 8 kB / 468.6 MB, free: 12.21 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.000126/0.1397, allocations: 153.7 kB / 468.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.1398, allocations: 15.81 kB / 468.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.1399, allocations: 99.31 kB / 468.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1399, allocations: 0 / 468.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1399, allocations: 0 / 468.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1399, allocations: 4 kB / 468.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.1404, allocations: 423.2 kB / 469.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1404, allocations: 448 / 469.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/0.1405, allocations: 19.98 kB / 469.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1405, allocations: 0 / 469.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1405, allocations: 8 kB / 469.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1405, allocations: 4 kB / 469.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1405, allocations: 0 / 469.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.1408, allocations: 236.8 kB / 469.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1409, allocations: 92.83 kB / 469.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1409, allocations: 3.984 kB / 469.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.141, allocations: 8 kB / 469.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.141, allocations: 3.938 kB / 469.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.141, allocations: 4 kB / 469.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1412, allocations: 178 kB / 469.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1412, allocations: 96 / 469.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1415, allocations: 43.94 kB / 469.9 MB, free: 10.83 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.0001015/0.1416, allocations: 91.25 kB / 470 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.1418, allocations: 92.34 kB / 470.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1418, allocations: 4.312 kB / 470.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.1418, allocations: 23.94 kB / 470.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.1423, allocations: 59.03 kB / 470.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/0.1432, allocations: 0.6176 MB / 470.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1436, allocations: 0.756 MB / 471.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.1436, allocations: 23.44 kB / 471.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1436, allocations: 0 / 471.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of Templates: time 0.004282/0.1479, allocations: 2.627 MB / 474.2 MB, free: 6.473 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