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.0009596/0.0009597, allocations: 92.55 kB / 16.96 MB, free: 6.453 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.001128/0.001128, allocations: 183.3 kB / 17.85 MB, free: 6 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.615/1.615, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.169/0.169, allocations: 38.04 MB / 310.3 MB, free: 6.039 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.0005183/0.0005184, allocations: 12 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2772, allocations: 56.34 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.005979/0.2833, allocations: 6.691 MB / 440.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.2869, allocations: 2.288 MB / 442.5 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.2873, allocations: 35.75 kB / 442.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.2878, allocations: 158.9 kB / 442.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.2889, allocations: 0.5561 MB / 443.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.2896, allocations: 319.5 kB / 443.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.2907, allocations: 1.469 MB / 445 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.2917, allocations: 0.84 MB / 445.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.2921, allocations: 446.2 kB / 446.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007426/0.2929, allocations: 0.7051 MB / 447 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.413e-05/0.293, allocations: 48 kB / 447 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.2938, allocations: 0.5421 MB / 447.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.2941, allocations: 431 kB / 448 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.2942, allocations: 193.2 kB / 448.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007528/0.295, allocations: 1.142 MB / 449.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.295, allocations: 0 / 449.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.295, allocations: 0 / 449.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.295, allocations: 4 kB / 449.3 MB, free: 2.898 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.002171/0.2972, allocations: 1.227 MB / 450.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2973, allocations: 12.03 kB / 450.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.2979, allocations: 134.8 kB / 450.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.2988, allocations: 0.6521 MB / 451.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.299, allocations: 171.1 kB / 451.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.2992, allocations: 99.84 kB / 451.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.3014, allocations: 1.43 MB / 453 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.3014, allocations: 0 / 453 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-05/0.3015, allocations: 31.98 kB / 453.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.3017, allocations: 81.95 kB / 453.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.3043, allocations: 1.561 MB / 454.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006459/0.3107, allocations: 4.459 MB / 459.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.3129, allocations: 1.255 MB / 460.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.3142, allocations: 0.8007 MB / 461.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/0.3143, allocations: 24.64 kB / 461.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.3143, allocations: 51.09 kB / 461.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=101): time 2.926e-06/0.3143, allocations: 0 / 461.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.006675/0.321, allocations: 3.96 MB / 465.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.3211, allocations: 86.11 kB / 465.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.3216, allocations: 401.8 kB / 465.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.3216, allocations: 41.7 kB / 465.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.3219, allocations: 348.3 kB / 466.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.3222, allocations: 346.8 kB / 466.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.3222, allocations: 16 kB / 466.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3224, allocations: 386.8 kB / 466.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3235, allocations: 0.6149 MB / 467.5 MB, free: 304 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3246, allocations: 0.762 MB / 468.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3258, allocations: 0.6939 MB / 468.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3258, allocations: 0 / 468.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00263/0.3284, allocations: 1.635 MB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3285, allocations: 12 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3285, allocations: 4 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.3287, allocations: 40.83 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.3309, allocations: 0.632 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006337/0.3373, allocations: 6.395 MB / 477.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007967/0.3381, allocations: 95.81 kB / 477.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.3383, allocations: 32 kB / 477.8 MB, free: 5.395 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006956/0.339, allocations: 321.5 kB / 478.1 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.3393, allocations: 63.25 kB / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.3422, allocations: 1.635 MB / 479.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.3423, allocations: 27.98 kB / 479.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3423, allocations: 4 kB / 479.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3423, allocations: 3.984 kB / 479.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/0.3469, allocations: 2.923 MB / 482.7 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.347, allocations: 4 kB / 482.7 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/0.3496, allocations: 0.6752 MB / 483.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.3497, allocations: 44.78 kB / 483.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/0.3498, allocations: 19.98 kB / 483.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.351, allocations: 1.474 MB / 484.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.351, allocations: 4 kB / 484.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/0.3553, allocations: 2.6 MB / 487.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3556, allocations: 140.2 kB / 487.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.3558, allocations: 20 kB / 487.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.3564, allocations: 83.97 kB / 487.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.3566, allocations: 76.48 kB / 487.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.3567, allocations: 35.92 kB / 487.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003934/0.3571, allocations: 271.1 kB / 488.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3571, allocations: 0 / 488.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001068/0.3582, allocations: 244 kB / 488.4 MB, free: 10.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000398/0.3586, allocations: 154.8 kB / 488.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004396/0.363, allocations: 1.997 MB / 490.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.363, allocations: 0 / 490.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002798/0.3658, allocations: 1.327 MB / 491.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.367, allocations: 146 kB / 492 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/0.3726, allocations: 3.124 MB / 495.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/0.3735, allocations: 1.083 MB / 496.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.3739, allocations: 67.36 kB / 496.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3739, allocations: 0 / 496.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of Templates: time 0.03036/0.4043, allocations: 23.77 MB / 0.5079 GB, free: 10.57 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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