Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.0009449/0.000945, 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.0008781/0.0008782, 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.173/1.173, 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.1554/0.1554, allocations: 38 MB / 309.3 MB, free: 6.238 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.0012/0.0012, allocations: 67.91 kB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1931, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00585/0.199, allocations: 7.513 MB / 438 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.2017, allocations: 2.439 MB / 440.5 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.2021, allocations: 39.75 kB / 440.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.2031, allocations: 480.4 kB / 441 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008244/0.204, allocations: 0.5175 MB / 441.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.2046, allocations: 315.5 kB / 441.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.2055, allocations: 1.84 MB / 443.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.2061, allocations: 0.6385 MB / 444.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/0.2065, allocations: 470.1 kB / 444.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006045/0.2071, allocations: 0.7556 MB / 445.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.2072, allocations: 60 kB / 445.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007063/0.2079, allocations: 0.6122 MB / 446.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.2082, allocations: 439 kB / 446.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.2085, allocations: 489.6 kB / 447.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.2092, allocations: 1.177 MB / 448.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2092, allocations: 0 / 448.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2092, allocations: 0 / 448.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.2092, allocations: 0 / 448.3 MB, free: 1.984 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002207/0.2114, allocations: 1.367 MB / 449.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2115, allocations: 12.02 kB / 449.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.2121, allocations: 139.7 kB / 449.8 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.2131, allocations: 0.6648 MB / 450.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.2133, allocations: 175.6 kB / 450.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.2134, allocations: 79.94 kB / 450.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.2155, allocations: 1.414 MB / 452.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.2155, allocations: 0 / 452.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/0.2156, allocations: 32 kB / 452.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/0.2158, allocations: 81.94 kB / 452.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.2182, allocations: 1.522 MB / 453.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005916/0.2241, allocations: 4.443 MB / 458.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.2262, allocations: 1.193 MB / 459.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.2273, allocations: 0.7773 MB / 460.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-05/0.2274, allocations: 8.656 kB / 460.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2274, allocations: 43.22 kB / 460.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=101): time 2.595e-06/0.2274, allocations: 0 / 460.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.005919/0.2334, allocations: 3.85 MB / 464 MB, free: 1.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.2334, allocations: 98.14 kB / 464.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.2338, allocations: 397.9 kB / 464.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.2339, allocations: 41.7 kB / 464.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.2341, allocations: 344.2 kB / 464.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.2343, allocations: 346.9 kB / 465.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.2345, allocations: 166.6 kB / 465.4 MB, free: 380 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2347, allocations: 374.8 kB / 465.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009289/0.2356, allocations: 0.5953 MB / 466.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.2367, allocations: 0.7424 MB / 467.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.2386, allocations: 1.383 MB / 468.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2386, allocations: 4 kB / 468.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002381/0.241, allocations: 1.599 MB / 470.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2411, allocations: 8 kB / 470.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.2411, allocations: 4 kB / 470.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.2412, allocations: 40.83 kB / 470.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.2434, allocations: 0.4994 MB / 470.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005441/0.2489, allocations: 6.192 MB / 476.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.2494, allocations: 79.89 kB / 476.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.2495, allocations: 28.09 kB / 476.9 MB, free: 4.168 MB / 350.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.0004157/0.2499, allocations: 329.5 kB / 477.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.2501, allocations: 67.19 kB / 477.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.2525, allocations: 1.592 MB / 478.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/0.2526, allocations: 27.98 kB / 478.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2526, allocations: 0 / 478.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.2526, allocations: 3.984 kB / 479 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.2566, allocations: 2.865 MB / 481.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2566, allocations: 4 kB / 481.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/0.259, allocations: 0.5346 MB / 482.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.474e-05/0.2591, allocations: 32.84 kB / 482.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-05/0.2592, allocations: 27.92 kB / 482.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009641/0.2601, allocations: 1.486 MB / 483.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2602, allocations: 0 / 483.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.2637, allocations: 2.538 MB / 486.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.2638, allocations: 136.3 kB / 486.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.264, allocations: 20 kB / 486.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.2645, allocations: 67.91 kB / 486.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.2647, allocations: 84.41 kB / 486.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.2648, allocations: 28 kB / 486.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002727/0.265, allocations: 275.1 kB / 487 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2651, allocations: 4 kB / 487 MB, free: 9.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007899/0.2658, allocations: 236.1 kB / 487.3 MB, free: 9.477 MB / 366.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.0002655/0.2661, allocations: 163 kB / 487.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003625/0.2698, allocations: 1.829 MB / 489.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2698, allocations: 0 / 489.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.2722, allocations: 1.186 MB / 490.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.273, allocations: 149.4 kB / 490.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.2775, allocations: 3.045 MB / 493.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.2781, allocations: 1.084 MB / 494.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.2785, allocations: 63.42 kB / 494.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2785, allocations: 0 / 494.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of Templates: time 0.02397/0.3024, allocations: 23.84 MB / 0.5065 GB, free: 9.961 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.o] Error 1