Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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) 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(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001436/0.001436, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.1 MB / 224.6 MB, free: 12.38 MB / 190.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.001348/0.001348, allocations: 55.92 kB / 280.6 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 46.64 MB / 327.3 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.008355/0.1614, allocations: 4.519 MB / 331.8 MB, free: 328 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.1653, allocations: 1.259 MB / 333 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.1658, allocations: 19.88 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.1664, allocations: 135.1 kB / 333.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.1676, allocations: 326.4 kB / 333.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.1682, allocations: 163.8 kB / 333.7 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.1705, allocations: 1.818 MB / 335.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.1718, allocations: 0.7712 MB / 336.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.1729, allocations: 0.5602 MB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.1743, allocations: 0.7937 MB / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.1745, allocations: 100 kB / 337.7 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.1748, allocations: 100 kB / 337.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.1752, allocations: 394.7 kB / 338.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009385/0.1762, allocations: 0.7112 MB / 338.9 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.1779, allocations: 1.808 MB / 340.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.1779, allocations: 0 / 340.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1779, allocations: 0 / 340.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.976e-05/0.178, allocations: 4 kB / 340.7 MB, free: 7.336 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004225/0.1822, allocations: 1.744 MB / 342.5 MB, free: 5.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.572e-05/0.1823, allocations: 12.03 kB / 342.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.1827, allocations: 155.1 kB / 342.6 MB, free: 5.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.1843, allocations: 0.9228 MB / 343.6 MB, free: 4.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.1844, allocations: 74.41 kB / 343.6 MB, free: 4.328 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.1846, allocations: 108.1 kB / 343.7 MB, free: 4.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.1877, allocations: 1.541 MB / 345.3 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.1878, allocations: 3.906 kB / 345.3 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.1879, allocations: 44 kB / 345.3 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.659e-05/0.188, allocations: 42.02 kB / 345.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.1908, allocations: 1.436 MB / 346.8 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009273/0.2001, allocations: 4.918 MB / 351.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.2022, allocations: 1.46 MB / 353.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.2039, allocations: 0.7312 MB / 353.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.923e-05/0.204, allocations: 4.562 kB / 353.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.2052, allocations: 0.6084 MB / 354.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.2052, allocations: 4 kB / 354.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.006775/0.212, allocations: 2.407 MB / 356.9 MB, free: 6.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.2122, allocations: 89.75 kB / 357 MB, free: 6.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.2142, allocations: 0.9344 MB / 358 MB, free: 5.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.2143, allocations: 41.7 kB / 358 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008386/0.2152, allocations: 0.5269 MB / 358.5 MB, free: 4.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.2155, allocations: 236.6 kB / 358.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.2158, allocations: 126.7 kB / 358.9 MB, free: 4.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002972/0.2161, allocations: 337.9 kB / 359.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/0.2169, allocations: 417.6 kB / 359.6 MB, free: 3.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008994/0.2178, allocations: 0.5484 MB / 360.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.2194, allocations: 0.9503 MB / 361.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.2195, allocations: 0 / 361.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002603/0.2221, allocations: 1.284 MB / 362.4 MB, free: 0.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.2221, allocations: 8 kB / 362.4 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.2222, allocations: 4 kB / 362.4 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.2232, allocations: 410.6 kB / 362.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.2238, allocations: 115.8 kB / 362.9 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006331/0.2301, allocations: 4.115 MB / 367 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/0.2311, allocations: 83.47 kB / 367.1 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.2312, allocations: 24 kB / 367.1 MB, free: 12.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.2326, allocations: 499.1 kB / 367.6 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.2329, allocations: 90.88 kB / 367.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.2332, allocations: 120.5 kB / 367.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2332, allocations: 8 kB / 367.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.2332, allocations: 0 / 367.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.2332, allocations: 7.922 kB / 367.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/0.238, allocations: 2.589 MB / 370.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.238, allocations: 0 / 370.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.2385, allocations: 87.88 kB / 370.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009117/0.2394, allocations: 393.4 kB / 370.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.2395, allocations: 8 kB / 370.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005828/0.2453, allocations: 4.084 MB / 375 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2454, allocations: 7.922 kB / 375 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/0.2491, allocations: 1.958 MB / 377 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/0.2499, allocations: 291.8 kB / 377.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.2501, allocations: 16 kB / 377.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.2506, allocations: 39.95 kB / 377.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/0.2509, allocations: 76.53 kB / 377.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/0.2509, allocations: 27.92 kB / 377.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.2522, allocations: 0.6746 MB / 378.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2522, allocations: 0 / 378.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001276/0.2535, allocations: 346.9 kB / 378.4 MB, free: 0.5391 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002706/0.2537, allocations: 127.2 kB / 378.5 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.2777/0.5315, allocations: 1.261 MB / 379.8 MB, free: 54.74 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.5315, allocations: 1.375 kB / 379.8 MB, free: 54.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.5336, allocations: 0.7932 MB / 380.6 MB, free: 54.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.5355, allocations: 234.9 kB / 380.8 MB, free: 54.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007955/0.5435, allocations: 3.11 MB / 383.9 MB, free: 53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/0.5455, allocations: 1.353 MB / 385.3 MB, free: 52.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.546, allocations: 62.45 kB / 385.4 MB, free: 52.16 MB / 318.1 MB Notification: Performance of SimCode: time 5.08e-06/0.5461, allocations: 0 / 385.4 MB, free: 52.16 MB / 318.1 MB Notification: Performance of Templates: time 0.0458/0.5919, allocations: 21.91 MB / 407.3 MB, free: 37.59 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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 OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.o] Error 1