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.0009335/0.0009389, allocations: 94.44 kB / 16.96 MB, free: 6.453 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.001201/0.001201, allocations: 179.2 kB / 17.84 MB, free: 6 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.314/1.314, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1758/0.1758, allocations: 38.09 MB / 331.1 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003357, allocations: 9.562 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 59.16 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007607/0.1266, allocations: 6.703 MB / 466.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004165/0.1308, allocations: 2.229 MB / 468.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.1313, allocations: 35.75 kB / 468.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.1319, allocations: 166.8 kB / 469 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.1331, allocations: 0.5484 MB / 469.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008816/0.134, allocations: 327.4 kB / 469.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.1355, allocations: 1.477 MB / 471.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.1369, allocations: 0.8323 MB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.1375, allocations: 446.2 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.1386, allocations: 0.709 MB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/0.1387, allocations: 52 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.1398, allocations: 0.542 MB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004557/0.1402, allocations: 426.9 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.1405, allocations: 189.3 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.1417, allocations: 1.146 MB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1417, allocations: 0 / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1417, allocations: 0 / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1417, allocations: 4 kB / 475.7 MB, free: 7.539 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.002604/0.1443, allocations: 1.231 MB / 476.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1444, allocations: 12.03 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/0.1451, allocations: 134.7 kB / 477 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.1463, allocations: 0.6559 MB / 477.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.1465, allocations: 175.1 kB / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.1467, allocations: 91.97 kB / 478 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.1492, allocations: 1.426 MB / 479.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.1492, allocations: 0 / 479.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.1493, allocations: 31.98 kB / 479.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.1495, allocations: 85.89 kB / 479.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.1521, allocations: 1.569 MB / 481.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.1588, allocations: 4.447 MB / 485.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.161, allocations: 1.252 MB / 486.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.1622, allocations: 0.8008 MB / 487.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/0.1623, allocations: 20.64 kB / 487.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1624, allocations: 43.16 kB / 487.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.316e-06/0.1624, allocations: 0 / 487.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006854/0.1692, allocations: 3.968 MB / 491.6 MB, free: 7.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.1693, allocations: 86.11 kB / 491.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.1698, allocations: 393.9 kB / 492.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.1699, allocations: 41.7 kB / 492.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.1702, allocations: 356.2 kB / 492.5 MB, free: 6.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.1705, allocations: 346.8 kB / 492.8 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.1705, allocations: 16 kB / 492.8 MB, free: 5.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1707, allocations: 382.8 kB / 493.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.1718, allocations: 0.6148 MB / 493.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.1729, allocations: 0.762 MB / 494.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.174, allocations: 0.6978 MB / 495.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1741, allocations: 7.938 kB / 495.3 MB, free: 3.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00281/0.1769, allocations: 1.639 MB / 496.9 MB, free: 1.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.1769, allocations: 8 kB / 496.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1769, allocations: 4 kB / 496.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.1771, allocations: 36.83 kB / 496.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.1795, allocations: 0.6322 MB / 497.6 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.1857, allocations: 6.399 MB / 0.4922 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.1866, allocations: 91.98 kB / 0.4923 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.1867, allocations: 35.98 kB / 0.4923 GB, free: 10.04 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005266/0.1872, allocations: 317.5 kB / 0.4926 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.1874, allocations: 63.16 kB / 0.4927 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.1902, allocations: 1.639 MB / 0.4943 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/0.1902, allocations: 24 kB / 0.4943 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1902, allocations: 4 kB / 0.4943 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1902, allocations: 3.984 kB / 0.4943 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00455/0.1948, allocations: 2.927 MB / 0.4971 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.1948, allocations: 4 kB / 0.4971 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/0.1975, allocations: 0.6791 MB / 0.4978 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.1976, allocations: 40.83 kB / 0.4978 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.251e-05/0.1977, allocations: 24 kB / 0.4979 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.1989, allocations: 1.471 MB / 0.4993 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1989, allocations: 7.984 kB / 0.4993 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2339/0.4329, allocations: 2.601 MB / 0.5019 GB, free: 55.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.4332, allocations: 135.5 kB / 0.502 GB, free: 55.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.4335, allocations: 24.55 kB / 0.502 GB, free: 55.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/0.4342, allocations: 81.31 kB / 0.5021 GB, free: 55.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.4344, allocations: 75.69 kB / 0.5022 GB, free: 55.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/0.4345, allocations: 27.88 kB / 0.5022 GB, free: 55.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003938/0.4349, allocations: 273.5 kB / 0.5024 GB, free: 55.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4349, allocations: 1.359 kB / 0.5024 GB, free: 55.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000971/0.4359, allocations: 237.8 kB / 0.5027 GB, free: 55.21 MB / 382.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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002613/0.4362, allocations: 149.7 kB / 0.5028 GB, free: 55.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00427/0.4404, allocations: 2.01 MB / 0.5048 GB, free: 55.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4405, allocations: 0 / 0.5048 GB, free: 55.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002867/0.4433, allocations: 1.323 MB / 0.5061 GB, free: 54.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.4442, allocations: 147.4 kB / 0.5062 GB, free: 54.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.4489, allocations: 3.13 MB / 0.5093 GB, free: 53.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.4496, allocations: 1.075 MB / 0.5103 GB, free: 52.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.4499, allocations: 64.58 kB / 0.5104 GB, free: 52.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4499, allocations: 0 / 0.5104 GB, free: 52.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02628/0.4762, allocations: 23.78 MB / 0.5336 GB, free: 38.08 MB / 382.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++ 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.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