Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 106.2 kB / 17.16 MB, free: 6.348 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.0009987/0.0009987, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1649/0.1649, allocations: 38.04 MB / 329.9 MB, free: 8.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.58 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 58.05 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006108/0.1224, allocations: 4.851 MB / 461.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1241, allocations: 1.119 MB / 462.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.1244, allocations: 23.88 kB / 462.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1246, allocations: 39.69 kB / 462.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.125, allocations: 191.1 kB / 463 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.1252, allocations: 87.91 kB / 463.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.1258, allocations: 0.627 MB / 463.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.1261, allocations: 135.3 kB / 463.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.1263, allocations: 183.2 kB / 464 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1267, allocations: 251 kB / 464.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.1268, allocations: 20 kB / 464.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.1268, allocations: 16 kB / 464.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.127, allocations: 107.7 kB / 464.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.1271, allocations: 167.1 kB / 464.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1274, allocations: 279.4 kB / 464.9 MB, free: 448 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1274, allocations: 4 kB / 464.9 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1274, allocations: 0 / 464.9 MB, free: 444 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1275, allocations: 0 / 464.9 MB, free: 444 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001333/0.1288, allocations: 0.7048 MB / 465.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1288, allocations: 8.031 kB / 465.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.1289, allocations: 48.41 kB / 465.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.1295, allocations: 383.1 kB / 466 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1295, allocations: 16.56 kB / 466 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/0.1296, allocations: 28 kB / 466 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.1301, allocations: 360.7 kB / 466.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1301, allocations: 0 / 466.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.1301, allocations: 12 kB / 466.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1302, allocations: 4 kB / 466.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.1306, allocations: 261.9 kB / 466.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.1323, allocations: 1.446 MB / 468.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.1326, allocations: 149 kB / 468.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1327, allocations: 77.73 kB / 468.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1327, allocations: 15.97 kB / 468.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1328, allocations: 38.5 kB / 468.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.1328, allocations: 0 / 468.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00111/0.1339, allocations: 0.6701 MB / 469.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.1339, allocations: 81.11 kB / 469.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1342, allocations: 308.5 kB / 469.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1343, allocations: 29.7 kB / 469.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1344, allocations: 215.6 kB / 469.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.1345, allocations: 51.27 kB / 469.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.1346, allocations: 57.59 kB / 469.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1347, allocations: 338.8 kB / 470.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1348, allocations: 63.95 kB / 470.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.135, allocations: 180.7 kB / 470.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.1353, allocations: 260.1 kB / 470.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1353, allocations: 0 / 470.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000397/0.1357, allocations: 285.1 kB / 470.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1358, allocations: 6.031 kB / 470.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1358, allocations: 7.938 kB / 470.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1358, allocations: 8 kB / 470.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.136, allocations: 59.83 kB / 471 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.1361, allocations: 8 kB / 471 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.1362, allocations: 8 kB / 471 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.1363, allocations: 19.98 kB / 471 MB, free: 9.844 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 (29): * Single equations (assignments): 29 * 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.0001553/0.1364, allocations: 170 kB / 471.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.1365, allocations: 35.5 kB / 471.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.1369, allocations: 227.5 kB / 471.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1369, allocations: 4 kB / 471.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1369, allocations: 0 / 471.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1369, allocations: 7.984 kB / 471.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.1376, allocations: 0.6201 MB / 472.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1376, allocations: 0 / 472.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.1378, allocations: 35.98 kB / 472.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1379, allocations: 4 kB / 472.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1379, allocations: 3.938 kB / 472.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.1379, allocations: 11.98 kB / 472.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1379, allocations: 0 / 472.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.1384, allocations: 424.7 kB / 472.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1385, allocations: 108.8 kB / 472.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.1386, allocations: 4 kB / 472.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1387, allocations: 11.98 kB / 472.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1388, allocations: 11.98 kB / 472.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1388, allocations: 7.938 kB / 472.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.139, allocations: 215 kB / 472.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.139, allocations: 0 / 472.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.1393, allocations: 64.06 kB / 472.9 MB, free: 7.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001126/0.1394, allocations: 103.2 kB / 473 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.1397, allocations: 183.7 kB / 473.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1398, allocations: 0 / 473.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.1399, allocations: 92.75 kB / 473.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.1404, allocations: 66.14 kB / 473.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1414, allocations: 0.8085 MB / 474.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1418, allocations: 0.8067 MB / 475 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.1419, allocations: 27.44 kB / 475 MB, free: 5.637 MB / 350.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1419, allocations: 0 / 475 MB, free: 5.637 MB / 350.1 MB Notification: Performance of Templates: time 0.005371/0.1473, allocations: 3.843 MB / 478.9 MB, free: 1.797 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadACCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.o] Error 1