Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 192.7 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.638/1.638, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002297/0.0002298, allocations: 8 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1469, allocations: 51.5 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006866/0.1538, allocations: 3.966 MB / 362.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.1574, allocations: 1.227 MB / 364 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000713/0.1581, allocations: 19.94 kB / 364 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.1586, allocations: 123.1 kB / 364.1 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.1599, allocations: 310.4 kB / 364.4 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1604, allocations: 135.8 kB / 364.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.1627, allocations: 1.646 MB / 366.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.164, allocations: 0.7299 MB / 367 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009446/0.165, allocations: 0.5019 MB / 367.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.1661, allocations: 0.6965 MB / 368.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.1663, allocations: 75.94 kB / 368.2 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1666, allocations: 72 kB / 368.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004473/0.167, allocations: 362.7 kB / 368.7 MB, free: 4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.1674, allocations: 289 kB / 368.9 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.1696, allocations: 1.784 MB / 370.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1696, allocations: 7.938 kB / 370.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1696, allocations: 0 / 370.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.1697, allocations: 0 / 370.7 MB, free: 1.914 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00342/0.1731, allocations: 1.565 MB / 372.3 MB, free: 304 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1732, allocations: 8.031 kB / 372.3 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006635/0.1738, allocations: 226.1 kB / 372.5 MB, free: 68 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2725/0.4463, allocations: 0.9183 MB / 373.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.4465, allocations: 77.5 kB / 373.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.4468, allocations: 103.9 kB / 373.6 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.4503, allocations: 1.559 MB / 375.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.4504, allocations: 3.844 kB / 375.2 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.4505, allocations: 49.39 kB / 375.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.4506, allocations: 43.16 kB / 375.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/0.4535, allocations: 1.454 MB / 376.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008245/0.4618, allocations: 4.988 MB / 381.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.4636, allocations: 1.461 MB / 383.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.465, allocations: 0.7453 MB / 383.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.274e-05/0.4651, allocations: 7.797 kB / 383.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.4662, allocations: 0.6208 MB / 384.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.4662, allocations: 3.938 kB / 384.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00598/0.4722, allocations: 2.45 MB / 387 MB, free: 12.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.4723, allocations: 97.94 kB / 387.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.4737, allocations: 0.9354 MB / 388 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.4738, allocations: 42.14 kB / 388.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/0.4743, allocations: 0.5283 MB / 388.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.4745, allocations: 233 kB / 388.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.4745, allocations: 15.34 kB / 388.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.4746, allocations: 329.7 kB / 389.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.4754, allocations: 426.9 kB / 389.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.4762, allocations: 0.5581 MB / 390.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.477, allocations: 461.6 kB / 390.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.4771, allocations: 0.9375 kB / 390.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00232/0.4794, allocations: 1.315 MB / 391.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.4794, allocations: 10.97 kB / 391.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4794, allocations: 6.688 kB / 391.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009139/0.4804, allocations: 395.8 kB / 392.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.4808, allocations: 118.5 kB / 392.4 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/0.4855, allocations: 4.15 MB / 396.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/0.4863, allocations: 82.8 kB / 396.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.4863, allocations: 27.75 kB / 396.7 MB, free: 6.223 MB / 302.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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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) * 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 (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: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0009029/0.4872, allocations: 490.7 kB / 397.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.4874, allocations: 100.9 kB / 397.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.4877, allocations: 121.4 kB / 397.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.4877, allocations: 6.344 kB / 397.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.4877, allocations: 5.031 kB / 397.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4878, allocations: 4.969 kB / 397.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.4915, allocations: 2.631 MB / 400 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4915, allocations: 2.562 kB / 400 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.4919, allocations: 91.88 kB / 400.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000708/0.4926, allocations: 384.5 kB / 400.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.4926, allocations: 15.98 kB / 400.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/0.4968, allocations: 4.093 MB / 404.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4968, allocations: 0 / 404.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/0.4999, allocations: 1.989 MB / 406.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005268/0.5005, allocations: 283.8 kB / 406.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.5006, allocations: 15.98 kB / 406.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.501, allocations: 47.95 kB / 406.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.5012, allocations: 80.53 kB / 407 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.5012, allocations: 16 kB / 407 MB, free: 12.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009723/0.5022, allocations: 0.6747 MB / 407.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5022, allocations: 0 / 407.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001124/0.5034, allocations: 346.8 kB / 408 MB, free: 11.77 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (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: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.000237/0.5036, allocations: 135.1 kB / 408.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.5059, allocations: 1.303 MB / 409.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5059, allocations: 0 / 409.5 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.5074, allocations: 0.8123 MB / 410.3 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5087, allocations: 243.3 kB / 410.5 MB, free: 9.266 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.5141, allocations: 3.067 MB / 413.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.5152, allocations: 1.354 MB / 414.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.5155, allocations: 59.42 kB / 415 MB, free: 4.734 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5155, allocations: 0 / 415 MB, free: 4.734 MB / 318.1 MB Notification: Performance of Templates: time 0.03276/0.5483, allocations: 21.94 MB / 436.9 MB, free: 14.86 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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 OMCppModelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulseCalcHelperMain.o] Error 1