Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008769/0.0008768, allocations: 94.59 kB / 16.96 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.001046/0.001046, 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.33/1.33, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1653/0.1653, allocations: 38.1 MB / 331.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1078, allocations: 59.17 MB / 459.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004685/0.1126, allocations: 4.381 MB / 464.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1144, allocations: 1.072 MB / 465.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1146, allocations: 19.88 kB / 465.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1148, allocations: 71.39 kB / 465.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.1154, allocations: 262.8 kB / 465.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.1157, allocations: 115.8 kB / 465.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.1163, allocations: 0.6192 MB / 466.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.1165, allocations: 109.7 kB / 466.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.1168, allocations: 183.1 kB / 466.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.1172, allocations: 263.2 kB / 466.9 MB, free: 316 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.1172, allocations: 12 kB / 467 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.1172, allocations: 12 kB / 467 MB, free: 292 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1174, allocations: 139.6 kB / 467.1 MB, free: 152 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.1175, allocations: 85.52 kB / 467.2 MB, free: 60 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1178, allocations: 275.2 kB / 467.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1178, allocations: 3.984 kB / 467.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1178, allocations: 0 / 467.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1178, allocations: 0 / 467.5 MB, free: 15.79 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009774/0.1188, allocations: 0.6048 MB / 468.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1188, allocations: 8.031 kB / 468.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.1189, allocations: 39.62 kB / 468.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.1194, allocations: 350.6 kB / 468.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1194, allocations: 24.56 kB / 468.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.1195, allocations: 27.98 kB / 468.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.1199, allocations: 348.7 kB / 468.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1199, allocations: 0 / 468.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.12, allocations: 19.94 kB / 468.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.832e-05/0.1201, allocations: 24.53 kB / 468.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.1204, allocations: 238 kB / 469.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.122, allocations: 1.382 MB / 470.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1223, allocations: 177 kB / 470.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.1225, allocations: 101.7 kB / 470.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1226, allocations: 4 kB / 470.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1226, allocations: 34.56 kB / 470.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.1226, allocations: 0 / 470.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001147/0.1237, allocations: 0.7515 MB / 471.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1238, allocations: 89.06 kB / 471.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.1241, allocations: 288.6 kB / 471.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1241, allocations: 25.7 kB / 472 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1242, allocations: 223.5 kB / 472.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.1243, allocations: 63.31 kB / 472.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.1243, allocations: 4 kB / 472.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1244, allocations: 334.8 kB / 472.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.1245, allocations: 67.95 kB / 472.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1247, allocations: 168.8 kB / 472.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1248, allocations: 87.97 kB / 472.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1248, allocations: 4 kB / 472.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004304/0.1252, allocations: 314 kB / 473.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1253, allocations: 8 kB / 473.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1253, allocations: 4 kB / 473.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.1255, allocations: 56.77 kB / 473.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1256, allocations: 47.91 kB / 473.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.1267, allocations: 1.487 MB / 474.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1269, allocations: 8 kB / 474.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1269, allocations: 16 kB / 474.8 MB, free: 7.863 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.1271, allocations: 173.8 kB / 475 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.1271, allocations: 31.56 kB / 475 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.1275, allocations: 240.3 kB / 475.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1275, allocations: 0 / 475.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1275, allocations: 3.938 kB / 475.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1275, allocations: 7.984 kB / 475.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.1282, allocations: 0.6394 MB / 475.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1283, allocations: 4 kB / 475.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.927e-05/0.1284, allocations: 27.98 kB / 475.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/0.1285, allocations: 60.72 kB / 476 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1286, allocations: 8 kB / 476 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.1296, allocations: 1.483 MB / 477.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1296, allocations: 3.938 kB / 477.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.1301, allocations: 404 kB / 477.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.1301, allocations: 104.7 kB / 478 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1302, allocations: 8 kB / 478 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1303, allocations: 11.98 kB / 478 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.1304, allocations: 15.88 kB / 478 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1304, allocations: 4 kB / 478 MB, free: 4.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.1305, allocations: 207.1 kB / 478.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1306, allocations: 4.062 kB / 478.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.1309, allocations: 68 kB / 478.3 MB, free: 4.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.131, allocations: 103.2 kB / 478.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.1315, allocations: 287.1 kB / 478.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1315, allocations: 4.188 kB / 478.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.1319, allocations: 202.6 kB / 478.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.1326, allocations: 48.62 kB / 478.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1343, allocations: 0.9332 MB / 479.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.1348, allocations: 0.8067 MB / 480.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.1349, allocations: 27.42 kB / 480.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1349, allocations: 0 / 480.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Templates: time 0.009922/0.1448, allocations: 4.834 MB / 485.5 MB, free: 12.79 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o] Error 1