Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008926/0.0008927, 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.0008569/0.0008569, 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.193/1.193, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1568/0.1568, allocations: 38 MB / 309.2 MB, free: 6.234 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.001134/0.001134, allocations: 63.91 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1785, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006234/0.1848, allocations: 7.8 MB / 438.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.1878, allocations: 2.54 MB / 440.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.1882, allocations: 47.69 kB / 440.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.1893, allocations: 484.8 kB / 441.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007532/0.19, allocations: 0.5058 MB / 441.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.1906, allocations: 335.4 kB / 442.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000885/0.1915, allocations: 1.84 MB / 444 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.1921, allocations: 0.6346 MB / 444.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.1925, allocations: 478.1 kB / 445.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005674/0.193, allocations: 0.7049 MB / 445.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.664e-05/0.1931, allocations: 60 kB / 445.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005967/0.1937, allocations: 0.5109 MB / 446.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.194, allocations: 430.9 kB / 446.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.1943, allocations: 485.6 kB / 447.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.1949, allocations: 1.13 MB / 448.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1949, allocations: 4 kB / 448.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1949, allocations: 0 / 448.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1949, allocations: 0 / 448.4 MB, free: 1.785 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002037/0.197, allocations: 1.34 MB / 449.8 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.197, allocations: 8.031 kB / 449.8 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000624/0.1977, allocations: 139.8 kB / 449.9 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009502/0.1986, allocations: 0.6593 MB / 450.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.1988, allocations: 171.6 kB / 450.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.199, allocations: 95.83 kB / 450.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.201, allocations: 1.362 MB / 452.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.201, allocations: 3.938 kB / 452.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.124e-05/0.2011, allocations: 32 kB / 452.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.2012, allocations: 65.97 kB / 452.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.2033, allocations: 1.3 MB / 453.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005939/0.2093, allocations: 4.931 MB / 458.5 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.2112, allocations: 1.133 MB / 459.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009956/0.2122, allocations: 0.6279 MB / 460.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.2123, allocations: 12.53 kB / 460.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2123, allocations: 43.12 kB / 460.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.2123, allocations: 3.938 kB / 460.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.00517/0.2175, allocations: 3.167 MB / 463.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.2176, allocations: 89.61 kB / 463.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.218, allocations: 469.8 kB / 464.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.2181, allocations: 41.73 kB / 464.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.2183, allocations: 391.4 kB / 464.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.2185, allocations: 252.3 kB / 464.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.2187, allocations: 154.5 kB / 464.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2189, allocations: 374.8 kB / 465.3 MB, free: 432 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/0.2197, allocations: 0.4939 MB / 465.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009133/0.2206, allocations: 0.6795 MB / 466.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.2224, allocations: 1.216 MB / 467.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2224, allocations: 7.938 kB / 467.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00383/0.2262, allocations: 1.974 MB / 469.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2263, allocations: 7.938 kB / 469.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003405/0.2297, allocations: 1.723 MB / 471.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.2313, allocations: 0.6616 MB / 472 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.2319, allocations: 147.8 kB / 472.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009397/0.2413, allocations: 6.759 MB / 478.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.2419, allocations: 71.91 kB / 479 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.242, allocations: 35.98 kB / 479 MB, free: 2.156 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000423/0.2424, allocations: 313.6 kB / 479.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.2425, allocations: 63.25 kB / 479.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.2445, allocations: 1.285 MB / 480.7 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.2446, allocations: 20 kB / 480.7 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2446, allocations: 0 / 480.7 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.2446, allocations: 15.86 kB / 480.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.2479, allocations: 2.406 MB / 483.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.248, allocations: 4.031 kB / 483.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/0.2502, allocations: 0.4915 MB / 483.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-05/0.2503, allocations: 28.84 kB / 483.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.2504, allocations: 20 kB / 483.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009361/0.2513, allocations: 1.463 MB / 485.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2514, allocations: 12.12 kB / 485.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.2543, allocations: 2.008 MB / 487.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2544, allocations: 136.2 kB / 487.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2545, allocations: 16 kB / 487.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.255, allocations: 55.92 kB / 487.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.2551, allocations: 72.39 kB / 487.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.2552, allocations: 20 kB / 487.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003127/0.2555, allocations: 318.9 kB / 487.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2555, allocations: 0 / 487.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008216/0.2563, allocations: 232.1 kB / 488 MB, free: 8.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0001943/0.2565, allocations: 135 kB / 488.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.259, allocations: 1.555 MB / 489.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2591, allocations: 4.062 kB / 489.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.2614, allocations: 0.9858 MB / 490.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007804/0.2622, allocations: 148 kB / 490.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.2659, allocations: 2.699 MB / 493.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.2665, allocations: 1.075 MB / 494.6 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.2667, allocations: 55.42 kB / 494.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2667, allocations: 0 / 494.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of Templates: time 0.02062/0.2874, allocations: 20.14 MB / 0.5027 GB, free: 13.95 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.RectifierCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.o] Error 1