Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.000991, allocations: 92.06 kB / 17.58 MB, free: 6.168 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.0009325/0.0009326, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.954/1.954, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004587/0.0004588, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.0975, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004315/0.1019, allocations: 3.112 MB / 332.1 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1045, allocations: 1.003 MB / 333.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005502/0.1051, allocations: 15.94 kB / 333.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1055, allocations: 71.47 kB / 333.2 MB, free: 15.84 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.001075/0.1066, allocations: 202.9 kB / 333.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.1069, allocations: 99.83 kB / 333.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1081, allocations: 0.9729 MB / 334.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005764/0.1087, allocations: 384.7 kB / 334.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.1092, allocations: 302.8 kB / 335.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.1098, allocations: 410.3 kB / 335.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.1099, allocations: 44 kB / 335.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.11, allocations: 44 kB / 335.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.1102, allocations: 203.3 kB / 335.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1104, allocations: 189.3 kB / 336 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009313/0.1113, allocations: 1.001 MB / 337 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1113, allocations: 0 / 337 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1113, allocations: 0 / 337 MB, free: 12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.1113, allocations: 0 / 337 MB, free: 12 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001846/0.1132, allocations: 1.021 MB / 338 MB, free: 10.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1132, allocations: 8.031 kB / 338 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1134, allocations: 90.88 kB / 338.1 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008463/0.1142, allocations: 0.5759 MB / 338.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.1143, allocations: 49.27 kB / 338.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.1144, allocations: 64 kB / 338.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.116, allocations: 0.9111 MB / 339.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.116, allocations: 0 / 339.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.1161, allocations: 31.98 kB / 339.8 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.1161, allocations: 29.3 kB / 339.8 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.1175, allocations: 0.8014 MB / 340.6 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.1222, allocations: 2.803 MB / 343.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/0.1232, allocations: 0.7455 MB / 344.1 MB, free: 4.582 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.1238, allocations: 353.3 kB / 344.5 MB, free: 4.234 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1238, allocations: 4.328 kB / 344.5 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006395/0.1245, allocations: 389.7 kB / 344.9 MB, free: 3.828 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.1245, allocations: 0 / 344.9 MB, free: 3.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002589/0.1271, allocations: 1.204 MB / 346.1 MB, free: 2.594 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.1272, allocations: 118.7 kB / 346.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007249/0.1279, allocations: 0.5683 MB / 346.8 MB, free: 1.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.128, allocations: 33.7 kB / 346.8 MB, free: 1.836 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.1283, allocations: 352 kB / 347.1 MB, free: 1.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.1285, allocations: 138.1 kB / 347.3 MB, free: 1.352 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.1285, allocations: 4 kB / 347.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1287, allocations: 374.7 kB / 347.6 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.129, allocations: 221 kB / 347.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.1295, allocations: 365.7 kB / 348.2 MB, free: 348 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.1299, allocations: 251.7 kB / 348.5 MB, free: 96 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1299, allocations: 8 kB / 348.5 MB, free: 88 kB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001277/0.1312, allocations: 0.7513 MB / 349.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.1313, allocations: 8 kB / 349.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1313, allocations: 4 kB / 349.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.1318, allocations: 204.7 kB / 349.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1321, allocations: 83.89 kB / 349.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.1352, allocations: 2.659 MB / 352.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.1356, allocations: 59.66 kB / 352.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.1357, allocations: 16 kB / 352.2 MB, free: 12.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005157/0.1362, allocations: 333.6 kB / 352.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.1363, allocations: 55.34 kB / 352.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.1364, allocations: 69.27 kB / 352.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1364, allocations: 4 kB / 352.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1364, allocations: 0 / 352.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1365, allocations: 4.141 kB / 352.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.1388, allocations: 1.636 MB / 354.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1388, allocations: 4 kB / 354.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.1391, allocations: 51.91 kB / 354.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.1395, allocations: 200.9 kB / 354.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.1396, allocations: 19.94 kB / 354.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.1425, allocations: 2.647 MB / 357.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1426, allocations: 0 / 357.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.1443, allocations: 1.118 MB / 358.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.1447, allocations: 192.4 kB / 358.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.1448, allocations: 4 kB / 358.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.1451, allocations: 27.97 kB / 358.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.1453, allocations: 43.94 kB / 358.6 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.1453, allocations: 19.98 kB / 358.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007861/0.1461, allocations: 410.8 kB / 359.1 MB, free: 5.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1461, allocations: 0 / 359.1 MB, free: 5.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009274/0.1471, allocations: 199.4 kB / 359.2 MB, free: 4.902 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.1473, allocations: 127.3 kB / 359.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1487, allocations: 0.7409 MB / 360.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1488, allocations: 256 / 360.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.1495, allocations: 482 kB / 360.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.1504, allocations: 130 kB / 360.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.1538, allocations: 1.794 MB / 362.5 MB, free: 1.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.1546, allocations: 1.059 MB / 363.6 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.1548, allocations: 39.42 kB / 363.6 MB, free: 460 kB / 302.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1548, allocations: 0 / 363.6 MB, free: 460 kB / 302.1 MB Notification: Performance of Templates: time 0.02059/0.1754, allocations: 12.67 MB / 376.3 MB, free: 3.766 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulseCalcHelperMain.o] Error 1