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.0009156/0.0009155, allocations: 93.58 kB / 17.31 MB, free: 5.59 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.001145/0.001145, allocations: 178.8 kB / 18.21 MB, free: 5.191 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.825/1.825, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1927/0.1927, allocations: 38.04 MB / 310.7 MB, free: 5.91 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.0005682/0.0005683, allocations: 12 kB / 377.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.347, allocations: 56.33 MB / 434.2 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006574/0.3537, allocations: 7.357 MB / 441.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004105/0.3578, allocations: 2.498 MB / 444 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005454/0.3584, allocations: 43.69 kB / 444 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.3589, allocations: 151 kB / 444.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.3599, allocations: 0.5058 MB / 444.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.3607, allocations: 327.4 kB / 445 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.3618, allocations: 1.84 MB / 446.9 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.3629, allocations: 0.9471 MB / 447.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.3633, allocations: 438.1 kB / 448.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006682/0.364, allocations: 0.6658 MB / 448.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.3641, allocations: 48 kB / 449 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000707/0.3648, allocations: 0.5069 MB / 449.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.3651, allocations: 406.9 kB / 449.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.3655, allocations: 487.3 kB / 450.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007408/0.3662, allocations: 1.107 MB / 451.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3662, allocations: 0 / 451.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3662, allocations: 0 / 451.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3662, allocations: 0 / 451.4 MB, free: 1.273 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.002154/0.3684, allocations: 1.196 MB / 452.6 MB, free: 24 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.3685, allocations: 8.031 kB / 452.6 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007715/0.3692, allocations: 143.8 kB / 452.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3703, allocations: 0.6593 MB / 453.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.3706, allocations: 179.6 kB / 453.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.3708, allocations: 91.91 kB / 453.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.3731, allocations: 1.382 MB / 455.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.3732, allocations: 7.938 kB / 455.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.3733, allocations: 35.98 kB / 455.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.3734, allocations: 61.97 kB / 455.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.3759, allocations: 1.343 MB / 456.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007455/0.3834, allocations: 4.978 MB / 461.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/0.3859, allocations: 1.219 MB / 462.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.3871, allocations: 0.6552 MB / 463.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.3872, allocations: 12.56 kB / 463.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.3873, allocations: 43.11 kB / 463.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 4.168e-06/0.3873, allocations: 0 / 463.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.006785/0.3941, allocations: 3.296 MB / 466.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.3942, allocations: 85.67 kB / 466.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.3948, allocations: 461.9 kB / 467.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.3949, allocations: 37.7 kB / 467.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.3953, allocations: 395.3 kB / 467.7 MB, free: 496 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.3956, allocations: 260.3 kB / 467.9 MB, free: 232 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3957, allocations: 81.64 kB / 468 MB, free: 144 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.3959, allocations: 374.8 kB / 468.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009791/0.3969, allocations: 0.5173 MB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.398, allocations: 0.7068 MB / 469.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.4001, allocations: 1.271 MB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4001, allocations: 3.938 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004668/0.4048, allocations: 2.126 MB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4048, allocations: 8.531 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004056/0.4089, allocations: 1.867 MB / 474.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/0.4108, allocations: 0.7007 MB / 475.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.4114, allocations: 163.7 kB / 475.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.4232, allocations: 7.07 MB / 482.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/0.4241, allocations: 83.91 kB / 482.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.4241, allocations: 35.92 kB / 482.9 MB, free: 0.7305 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.0005821/0.4247, allocations: 317.6 kB / 483.3 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.4249, allocations: 63.25 kB / 483.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.4274, allocations: 1.352 MB / 484.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.4274, allocations: 12 kB / 484.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4274, allocations: 0 / 484.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.4274, allocations: 7.922 kB / 484.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/0.4314, allocations: 2.457 MB / 487.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4314, allocations: 0 / 487.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/0.4342, allocations: 0.6361 MB / 487.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.4344, allocations: 44.86 kB / 487.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.4344, allocations: 19.92 kB / 487.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.4356, allocations: 1.467 MB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4356, allocations: 3.938 kB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.4392, allocations: 2.09 MB / 491.4 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.4394, allocations: 128.3 kB / 491.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.4395, allocations: 12 kB / 491.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.44, allocations: 79.91 kB / 491.6 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.4402, allocations: 68.41 kB / 491.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.4402, allocations: 16 kB / 491.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.4407, allocations: 318.9 kB / 492 MB, free: 7.324 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4407, allocations: 0 / 492 MB, free: 7.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009773/0.4417, allocations: 236.1 kB / 492.2 MB, free: 7.094 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.0002523/0.4419, allocations: 131 kB / 492.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.4448, allocations: 1.598 MB / 494 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4449, allocations: 0 / 494 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00277/0.4476, allocations: 1.135 MB / 495.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.4486, allocations: 157.7 kB / 495.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.4532, allocations: 2.852 MB / 498.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.454, allocations: 1.071 MB / 499.2 MB, free: 44 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.4543, allocations: 59.47 kB / 499.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.236e-06/0.4543, allocations: 0 / 499.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02452/0.4788, allocations: 20.07 MB / 0.5071 GB, free: 11.89 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