Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.001147/0.001147, 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.283/1.283, 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.1641/0.1641, allocations: 38.03 MB / 329.9 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 56.8 kB / 398.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1078, allocations: 58.07 MB / 456.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00858/0.1165, allocations: 7.518 MB / 464.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00445/0.1209, allocations: 2.399 MB / 466.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.1215, allocations: 39.75 kB / 466.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1228, allocations: 474.1 kB / 467.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.124, allocations: 0.5253 MB / 467.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.1248, allocations: 307.5 kB / 468 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.1267, allocations: 1.84 MB / 469.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.1279, allocations: 0.6346 MB / 470.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008556/0.1287, allocations: 474.1 kB / 471 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00097/0.1297, allocations: 0.744 MB / 471.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.1299, allocations: 64 kB / 471.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009759/0.1308, allocations: 0.6083 MB / 472.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.1312, allocations: 442.9 kB / 472.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000497/0.1317, allocations: 493.7 kB / 473.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009956/0.1327, allocations: 1.177 MB / 474.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1328, allocations: 4 kB / 474.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1328, allocations: 0 / 474.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1328, allocations: 0 / 474.5 MB, free: 6.742 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002875/0.1357, allocations: 1.368 MB / 475.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1357, allocations: 12.03 kB / 475.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.1364, allocations: 135.7 kB / 476 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.1376, allocations: 0.657 MB / 476.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.1378, allocations: 175.6 kB / 476.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.138, allocations: 83.94 kB / 476.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.1402, allocations: 1.414 MB / 478.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.1403, allocations: 3.938 kB / 478.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.1404, allocations: 32 kB / 478.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/0.1406, allocations: 81.94 kB / 478.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.1431, allocations: 1.518 MB / 480 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006455/0.1496, allocations: 4.447 MB / 484.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.1519, allocations: 1.188 MB / 485.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.1532, allocations: 0.7773 MB / 486.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.498e-05/0.1533, allocations: 16.62 kB / 486.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1533, allocations: 39.22 kB / 486.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.106e-06/0.1534, allocations: 0 / 486.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006696/0.1601, allocations: 3.85 MB / 490.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.1601, allocations: 90.14 kB / 490.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.1606, allocations: 405.9 kB / 490.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.1607, allocations: 37.7 kB / 490.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.161, allocations: 340.3 kB / 491.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.1613, allocations: 354.8 kB / 491.5 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.1616, allocations: 166.5 kB / 491.6 MB, free: 5.137 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1618, allocations: 378.8 kB / 492 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.1628, allocations: 0.5953 MB / 492.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.1639, allocations: 0.7463 MB / 493.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.166, allocations: 1.395 MB / 494.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.166, allocations: 0 / 494.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002562/0.1686, allocations: 1.596 MB / 496.3 MB, free: 308 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1686, allocations: 8 kB / 496.4 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1687, allocations: 0 / 496.4 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.1688, allocations: 44.77 kB / 496.4 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/0.1711, allocations: 0.4917 MB / 496.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005959/0.1771, allocations: 6.195 MB / 0.4913 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.1778, allocations: 79.89 kB / 0.4914 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/0.1779, allocations: 31.98 kB / 0.4914 GB, free: 8.918 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005081/0.1784, allocations: 317.6 kB / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.1786, allocations: 75.09 kB / 0.4918 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.1812, allocations: 1.588 MB / 0.4933 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.713e-05/0.1813, allocations: 27.98 kB / 0.4934 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1813, allocations: 0 / 0.4934 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1813, allocations: 7.984 kB / 0.4934 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/0.1856, allocations: 2.869 MB / 0.4962 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1856, allocations: 3.938 kB / 0.4962 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/0.1881, allocations: 0.5307 MB / 0.4967 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.1882, allocations: 40.92 kB / 0.4967 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-05/0.1883, allocations: 27.97 kB / 0.4967 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.1894, allocations: 1.474 MB / 0.4982 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1894, allocations: 4.031 kB / 0.4982 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.1931, allocations: 2.538 MB / 0.5007 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1933, allocations: 140.2 kB / 0.5008 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.1934, allocations: 24 kB / 0.5008 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.1939, allocations: 71.91 kB / 0.5009 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.1941, allocations: 80.53 kB / 0.501 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.1942, allocations: 28 kB / 0.501 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.1945, allocations: 279.1 kB / 0.5013 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1945, allocations: 0 / 0.5013 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008905/0.1954, allocations: 236 kB / 0.5015 GB, free: 14.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003108/0.1957, allocations: 164.3 kB / 0.5016 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003808/0.1996, allocations: 1.833 MB / 0.5034 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1996, allocations: 0 / 0.5034 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.2022, allocations: 1.186 MB / 0.5046 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.203, allocations: 149.6 kB / 0.5047 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.2078, allocations: 3.045 MB / 0.5077 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.2085, allocations: 1.08 MB / 0.5088 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.2088, allocations: 63.42 kB / 0.5088 GB, free: 6.59 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2088, allocations: 0 / 0.5088 GB, free: 6.59 MB / 398.1 MB Notification: Performance of Templates: time 0.2417/0.4505, allocations: 23.84 MB / 0.5321 GB, free: 63.38 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.AC3ph.Inverters.RectifierCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.o] Error 1