Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001065, allocations: 96.69 kB / 16.94 MB, free: 5.988 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.0009962/0.0009962, allocations: 184.2 kB / 17.83 MB, free: 5.672 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.757/1.757, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005255/0.0005255, allocations: 27.36 kB / 280.8 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1183, allocations: 47.58 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008989/0.1274, allocations: 8.586 MB / 336.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006383/0.1338, allocations: 3.267 MB / 340.2 MB, free: 8.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.1354, allocations: 63.62 kB / 340.3 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1368, allocations: 0.5673 MB / 340.8 MB, free: 7.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.1396, allocations: 0.9424 MB / 341.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.1405, allocations: 307.7 kB / 342.1 MB, free: 6.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004376/0.1448, allocations: 3.322 MB / 345.4 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/0.1482, allocations: 2.874 MB / 348.3 MB, free: 60 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.1509, allocations: 1.604 MB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.1537, allocations: 1.953 MB / 351.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.1542, allocations: 280 kB / 352.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009167/0.1551, allocations: 335.9 kB / 352.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009765/0.1561, allocations: 1.149 MB / 353.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.1572, allocations: 0.9369 MB / 354.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006157/0.1633, allocations: 6.802 MB / 361.3 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1634, allocations: 0 / 361.3 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1634, allocations: 0 / 361.3 MB, free: 2.969 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002118/0.1636, allocations: 0 / 361.3 MB, free: 2.969 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.009636/0.1732, allocations: 4.3 MB / 365.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1733, allocations: 12.03 kB / 365.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.1751, allocations: 0.545 MB / 366.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005494/0.1806, allocations: 2.507 MB / 368.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.1809, allocations: 299.8 kB / 369 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006557/0.1815, allocations: 388 kB / 369.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.1917, allocations: 5.727 MB / 375.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.903e-05/0.1918, allocations: 11.94 kB / 375.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/0.1921, allocations: 160 kB / 375.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.1923, allocations: 208 kB / 375.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1748/0.3671, allocations: 4.984 MB / 380.4 MB, free: 46.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/0.3979, allocations: 16.52 MB / 396.9 MB, free: 37.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00549/0.4034, allocations: 6.797 MB / 403.7 MB, free: 32.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.4037, allocations: 135 kB / 403.9 MB, free: 31.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.4037, allocations: 64.36 kB / 403.9 MB, free: 31.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 4.659e-06/0.4038, allocations: 0 / 403.9 MB, free: 31.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01679/0.4205, allocations: 10.79 MB / 414.7 MB, free: 24.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.4206, allocations: 77.42 kB / 414.8 MB, free: 23.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.4239, allocations: 2.62 MB / 417.4 MB, free: 21.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.4241, allocations: 69.7 kB / 417.5 MB, free: 21.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000781/0.4249, allocations: 1.635 MB / 419.1 MB, free: 19.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/0.4254, allocations: 0.8323 MB / 420 MB, free: 18.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4255, allocations: 52 kB / 420 MB, free: 18.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4256, allocations: 406.7 kB / 420.4 MB, free: 18.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.4273, allocations: 1.352 MB / 421.8 MB, free: 16.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.429, allocations: 1.658 MB / 423.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.4308, allocations: 1.591 MB / 425 MB, free: 13.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.4308, allocations: 4 kB / 425 MB, free: 13.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006358/0.4372, allocations: 4.473 MB / 429.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.4373, allocations: 8 kB / 429.5 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.4373, allocations: 16.02 kB / 429.5 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004566/0.4419, allocations: 1.654 MB / 431.2 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.4434, allocations: 391.5 kB / 431.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02487/0.4683, allocations: 23.9 MB / 455.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.4709, allocations: 95.92 kB / 455.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/0.4712, allocations: 79.98 kB / 455.6 MB, free: 13.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002933/0.4741, allocations: 1.411 MB / 457 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009522/0.4751, allocations: 292.5 kB / 457.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007859/0.4829, allocations: 4.407 MB / 461.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.483, allocations: 24 kB / 461.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.483, allocations: 8 kB / 461.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-05/0.483, allocations: 15.89 kB / 461.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.5003, allocations: 8.934 MB / 470.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.5003, allocations: 0 / 470.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.5015, allocations: 295.6 kB / 471 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005232/0.5068, allocations: 1.616 MB / 472.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/0.5071, allocations: 67.92 kB / 472.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/0.5319, allocations: 23.64 MB / 496.3 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5319, allocations: 0 / 496.3 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.5421, allocations: 6.189 MB / 0.4907 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/0.5445, allocations: 0.685 MB / 0.4914 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006345/0.5451, allocations: 51.98 kB / 0.4914 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.5465, allocations: 135.8 kB / 0.4916 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005776/0.5471, allocations: 222.5 kB / 0.4918 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.5473, allocations: 63.98 kB / 0.4918 GB, free: 11.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003106/0.5504, allocations: 1.833 MB / 0.4936 GB, free: 10 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5504, allocations: 0 / 0.4936 GB, free: 10 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004054/0.5545, allocations: 0.954 MB / 0.4946 GB, free: 9.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006675/0.5552, allocations: 215.1 kB / 0.4948 GB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008181/0.5634, allocations: 4.889 MB / 0.4995 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/0.5634, allocations: 0 / 0.4995 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005397/0.5688, allocations: 3.387 MB / 0.5028 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/0.5732, allocations: 0.8752 MB / 0.5037 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.59, allocations: 9.934 MB / 0.5134 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003647/0.5937, allocations: 3.247 MB / 0.5166 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001966/0.5957, allocations: 0.5674 MB / 0.5171 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.5962, allocations: 163.4 kB / 0.5173 GB, free: 1.434 MB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5962, allocations: 7.938 kB / 0.5173 GB, free: 1.426 MB / 414.1 MB Notification: Performance of Templates: time 0.2562/0.8525, allocations: 56.85 MB / 0.5728 GB, free: 117.5 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches