Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.0009456/0.0009456, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.000861/0.000861, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.21/1.21, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1595/0.1595, allocations: 37.99 MB / 309.3 MB, free: 6.223 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.00116, allocations: 63.2 kB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1774, allocations: 55.25 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005346/0.1828, allocations: 7.383 MB / 437.9 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1846, allocations: 1.793 MB / 439.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.1849, allocations: 43.69 kB / 439.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1853, allocations: 131.2 kB / 439.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004789/0.1858, allocations: 406.2 kB / 440.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.186, allocations: 183.8 kB / 440.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007869/0.1868, allocations: 1.672 MB / 442.1 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.1871, allocations: 291 kB / 442.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.1874, allocations: 402.2 kB / 442.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.1879, allocations: 0.5568 MB / 443.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.96e-05/0.188, allocations: 40 kB / 443.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1881, allocations: 44 kB / 443.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.1883, allocations: 291.2 kB / 443.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.1885, allocations: 346.3 kB / 444 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.1889, allocations: 0.6782 MB / 444.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1889, allocations: 0 / 444.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1889, allocations: 0 / 444.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1889, allocations: 0 / 444.7 MB, free: 5.516 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001436/0.1903, allocations: 1.023 MB / 445.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1904, allocations: 12.03 kB / 445.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1905, allocations: 72.09 kB / 445.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/0.1912, allocations: 0.5535 MB / 446.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.1913, allocations: 120.8 kB / 446.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.1914, allocations: 56 kB / 446.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1924, allocations: 0.7849 MB / 447.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1924, allocations: 4 kB / 447.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.1925, allocations: 28 kB / 447.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.694e-05/0.1926, allocations: 32.97 kB / 447.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.1936, allocations: 0.6946 MB / 448.1 MB, free: 2.004 MB / 318.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.003444/0.1971, allocations: 2.72 MB / 450.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.1989, allocations: 0.8818 MB / 451.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.1995, allocations: 329.3 kB / 452 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.1995, allocations: 4 kB / 452 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.1996, allocations: 38.56 kB / 452.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.884e-06/0.1996, allocations: 0 / 452.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003872/0.2035, allocations: 1.937 MB / 454 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.2036, allocations: 85.05 kB / 454.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.2041, allocations: 421.9 kB / 454.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.2041, allocations: 29.7 kB / 454.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.2043, allocations: 324.1 kB / 454.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2045, allocations: 137.9 kB / 455 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.2046, allocations: 86.3 kB / 455.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2048, allocations: 358.8 kB / 455.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/0.2052, allocations: 236.9 kB / 455.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.2057, allocations: 354.3 kB / 456 MB, free: 9.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/0.2067, allocations: 0.574 MB / 456.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2067, allocations: 8 kB / 456.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001194/0.2079, allocations: 0.788 MB / 457.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2079, allocations: 4 kB / 457.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2079, allocations: 4 kB / 457.4 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.2081, allocations: 81.88 kB / 457.4 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.2094, allocations: 283.5 kB / 457.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/0.2143, allocations: 6.014 MB / 463.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.2146, allocations: 35.95 kB / 463.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.2147, allocations: 19.94 kB / 463.8 MB, free: 1.297 MB / 334.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 (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.0002614/0.2149, allocations: 241.6 kB / 464 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.215, allocations: 43.44 kB / 464.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.2162, allocations: 0.7296 MB / 464.8 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2162, allocations: 12 kB / 464.8 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2162, allocations: 0 / 464.8 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2162, allocations: 0 / 464.8 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.2184, allocations: 1.499 MB / 466.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2184, allocations: 0 / 466.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.2198, allocations: 303.6 kB / 466.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.22, allocations: 85.62 kB / 466.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.2201, allocations: 15.94 kB / 466.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.222, allocations: 2.891 MB / 469.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.222, allocations: 8.094 kB / 469.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.2236, allocations: 1.114 MB / 470.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.2237, allocations: 124.5 kB / 470.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.2238, allocations: 12 kB / 470.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.2241, allocations: 35.95 kB / 470.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.2242, allocations: 39.89 kB / 470.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.2242, allocations: 11.98 kB / 470.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.2245, allocations: 295.1 kB / 471.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2245, allocations: 0 / 471.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.225, allocations: 140 kB / 471.4 MB, free: 9.258 MB / 350.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 (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.0001164/0.2251, allocations: 107.2 kB / 471.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.2273, allocations: 0.9848 MB / 472.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2274, allocations: 0 / 472.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.229, allocations: 0.7161 MB / 473.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.2297, allocations: 138.3 kB / 473.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.2318, allocations: 1.732 MB / 475 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.2323, allocations: 0.9406 MB / 476 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.2324, allocations: 39.44 kB / 476 MB, free: 4.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2324, allocations: 0 / 476 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Templates: time 0.0158/0.2482, allocations: 16.82 MB / 492.8 MB, free: 3.637 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.RectifierCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.RectifierCalcHelperMain.o] Error 1