Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008979/0.0008981, allocations: 94.89 kB / 16.95 MB, free: 5.949 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.0009225/0.0009228, allocations: 177.7 kB / 17.84 MB, free: 5.613 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.316/1.316, 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.1716/0.1716, allocations: 38.09 MB / 331.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 11.98 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 59.17 MB / 459.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00661/0.1157, allocations: 6.567 MB / 466.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.1184, allocations: 1.676 MB / 468.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.1187, allocations: 47.69 kB / 468.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.1192, allocations: 158.9 kB / 468.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008017/0.12, allocations: 465.7 kB / 468.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.1205, allocations: 215.7 kB / 469 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.1216, allocations: 1.313 MB / 470.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000377/0.122, allocations: 243.6 kB / 470.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.1225, allocations: 402.2 kB / 470.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.1233, allocations: 0.5141 MB / 471.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.764e-05/0.1234, allocations: 35.94 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.1235, allocations: 32 kB / 471.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.1237, allocations: 275.3 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1239, allocations: 153.3 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.1245, allocations: 0.6662 MB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1246, allocations: 0 / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1246, allocations: 0 / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1246, allocations: 3.938 kB / 472.6 MB, free: 10.64 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001643/0.1262, allocations: 0.9177 MB / 473.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1263, allocations: 12.03 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.1264, allocations: 71.16 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.1272, allocations: 0.5408 MB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.1274, allocations: 120.7 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.1275, allocations: 63.92 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.1287, allocations: 0.7928 MB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1287, allocations: 7.922 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.1288, allocations: 28 kB / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.1289, allocations: 44.95 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1302, allocations: 0.7181 MB / 475.9 MB, free: 7.18 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/0.1338, allocations: 2.743 MB / 478.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.1354, allocations: 0.9179 MB / 479.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.1359, allocations: 341.6 kB / 479.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1359, allocations: 4 kB / 479.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.136, allocations: 38.55 kB / 479.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.134e-06/0.136, allocations: 0 / 479.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003412/0.1394, allocations: 2.023 MB / 482 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1395, allocations: 89.09 kB / 482.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.1399, allocations: 417.8 kB / 482.5 MB, free: 316 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.1399, allocations: 33.7 kB / 482.5 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.1401, allocations: 316.4 kB / 482.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1402, allocations: 134.1 kB / 482.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.1403, allocations: 12 kB / 482.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1404, allocations: 362.7 kB / 483.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.1408, allocations: 249 kB / 483.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.1413, allocations: 370.3 kB / 483.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.1418, allocations: 275.8 kB / 484.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1418, allocations: 4 kB / 484.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001242/0.1431, allocations: 0.8189 MB / 485 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1431, allocations: 8 kB / 485 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1431, allocations: 4 kB / 485 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.1433, allocations: 77.83 kB / 485.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.1446, allocations: 375.6 kB / 485.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/0.1498, allocations: 6.159 MB / 491.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.1502, allocations: 43.95 kB / 491.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.1502, allocations: 16 kB / 491.7 MB, free: 6.465 MB / 366.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.1505, allocations: 237.8 kB / 491.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.1506, allocations: 51.42 kB / 492 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.1519, allocations: 0.765 MB / 492.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1519, allocations: 4 kB / 492.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1519, allocations: 4 kB / 492.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1519, allocations: 7.922 kB / 492.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.1541, allocations: 1.545 MB / 494.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1541, allocations: 0 / 494.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.1555, allocations: 403.6 kB / 494.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.1558, allocations: 85.62 kB / 494.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.1558, allocations: 15.92 kB / 494.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.1577, allocations: 2.891 MB / 497.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1578, allocations: 3.984 kB / 497.7 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.1594, allocations: 1.161 MB / 498.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1596, allocations: 124.5 kB / 498.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.1596, allocations: 12.03 kB / 499 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.1599, allocations: 39.97 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.16, allocations: 35.94 kB / 499 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1601, allocations: 8 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003302/0.1604, allocations: 299.1 kB / 499.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1604, allocations: 0 / 499.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006248/0.161, allocations: 140 kB / 499.5 MB, free: 14.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.1612, allocations: 107.5 kB / 499.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.1634, allocations: 1.11 MB / 0.4889 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1635, allocations: 448 / 0.4889 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.1651, allocations: 0.8169 MB / 0.4897 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.1658, allocations: 139.5 kB / 0.4899 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.168, allocations: 1.775 MB / 0.4916 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.1685, allocations: 0.9445 MB / 0.4925 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.1687, allocations: 43.38 kB / 0.4926 GB, free: 9.141 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1687, allocations: 0 / 0.4926 GB, free: 9.141 MB / 382.1 MB Notification: Performance of Templates: time 0.2149/0.3836, allocations: 16.78 MB / 0.509 GB, free: 54.78 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.RectifierCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.RectifierCalcHelperMain.o] Error 1