Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009215/0.0009215, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0008933/0.0008933, 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 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.155/0.155, allocations: 37.99 MB / 309.3 MB, free: 6.25 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 67.03 kB / 375.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1812, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005494/0.1867, allocations: 7.084 MB / 437.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1889, allocations: 1.727 MB / 439.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.1892, allocations: 39.75 kB / 439.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.1896, allocations: 119.2 kB / 439.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.1901, allocations: 390.4 kB / 439.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1904, allocations: 171.7 kB / 440 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007875/0.1911, allocations: 1.621 MB / 441.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.1914, allocations: 283 kB / 441.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.1917, allocations: 390.3 kB / 442.3 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.1922, allocations: 0.5452 MB / 442.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.1923, allocations: 40 kB / 442.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1924, allocations: 40 kB / 442.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1926, allocations: 291.2 kB / 443.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1928, allocations: 338.3 kB / 443.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.1932, allocations: 0.6509 MB / 444.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1932, allocations: 4 kB / 444.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1932, allocations: 0 / 444.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1932, allocations: 4 kB / 444.2 MB, free: 6.062 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001473/0.1947, allocations: 1.007 MB / 445.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1947, allocations: 11.97 kB / 445.2 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1948, allocations: 72.09 kB / 445.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/0.1955, allocations: 0.538 MB / 445.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.1957, allocations: 116.8 kB / 445.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.1957, allocations: 55.98 kB / 446 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009959/0.1967, allocations: 0.7733 MB / 446.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1968, allocations: 3.984 kB / 446.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.1968, allocations: 27.94 kB / 446.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.323e-05/0.1969, allocations: 32.97 kB / 446.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.1981, allocations: 0.7259 MB / 447.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.2009, allocations: 2.616 MB / 450.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.2024, allocations: 0.8048 MB / 451 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.203, allocations: 395.9 kB / 451.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.203, allocations: 8.438 kB / 451.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.2031, allocations: 35 kB / 451.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/0.2031, allocations: 4 kB / 451.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003612/0.2067, allocations: 2.143 MB / 453.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.2068, allocations: 85.55 kB / 453.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.2071, allocations: 394 kB / 454 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.2072, allocations: 37.69 kB / 454.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.2074, allocations: 288.5 kB / 454.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.2075, allocations: 181.4 kB / 454.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2076, allocations: 98.22 kB / 454.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2078, allocations: 366.8 kB / 455 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.2083, allocations: 268.9 kB / 455.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.2088, allocations: 385.1 kB / 455.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.2099, allocations: 0.6459 MB / 456.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2099, allocations: 7.938 kB / 456.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001344/0.2112, allocations: 0.8797 MB / 457.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2112, allocations: 8 kB / 457.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2113, allocations: 3.984 kB / 457.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.2115, allocations: 73.67 kB / 457.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.2128, allocations: 311.7 kB / 457.5 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.2177, allocations: 6.026 MB / 463.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.218, allocations: 40.11 kB / 463.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.2181, allocations: 27.98 kB / 463.6 MB, free: 1.527 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.2183, allocations: 233.7 kB / 463.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.2184, allocations: 47.44 kB / 463.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.2197, allocations: 0.8242 MB / 464.7 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2197, allocations: 8 kB / 464.7 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2197, allocations: 0 / 464.7 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2197, allocations: 3.984 kB / 464.7 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.2221, allocations: 1.688 MB / 466.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2221, allocations: 0 / 466.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.2236, allocations: 327.7 kB / 466.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.2238, allocations: 89.62 kB / 466.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.2238, allocations: 12 kB / 466.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.2257, allocations: 2.891 MB / 469.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2257, allocations: 0 / 469.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.2276, allocations: 1.324 MB / 471.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.2277, allocations: 120.5 kB / 471.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.2277, allocations: 19.97 kB / 471.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.2281, allocations: 35.95 kB / 471.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2282, allocations: 47.88 kB / 471.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.2282, allocations: 16 kB / 471.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.2285, allocations: 283.1 kB / 471.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2285, allocations: 0 / 471.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.229, allocations: 148 kB / 471.7 MB, free: 8.941 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.2292, allocations: 115.1 kB / 471.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.2314, allocations: 1.077 MB / 472.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2315, allocations: 0 / 472.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.2331, allocations: 0.7901 MB / 473.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.2338, allocations: 141.4 kB / 473.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.2367, allocations: 1.872 MB / 475.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.2371, allocations: 0.9447 MB / 476.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.2373, allocations: 43.42 kB / 476.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2373, allocations: 0 / 476.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of Templates: time 0.01555/0.2528, allocations: 16.69 MB / 493.4 MB, free: 3.113 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.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_PowerSystems.Examples.AC1ph_DC.Inverters.RectifierCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.RectifierCalcHelperMain.o] Error 1