Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008472/0.0008472, allocations: 92.59 kB / 16.3 MB, free: 5.996 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.0008717/0.0008717, allocations: 183.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002483, allocations: 5.969 kB / 300.7 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.09864, allocations: 50.43 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005956/0.1047, allocations: 5.582 MB / 356.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004298/0.109, allocations: 2.206 MB / 358.9 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006593/0.1097, allocations: 39.81 kB / 359 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.1105, allocations: 366.1 kB / 359.3 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.1117, allocations: 0.5569 MB / 359.9 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.1121, allocations: 167.8 kB / 360 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.1139, allocations: 1.786 MB / 361.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.1157, allocations: 1.697 MB / 363.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.1167, allocations: 0.8914 MB / 364.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.1179, allocations: 1.062 MB / 365.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.1181, allocations: 155.9 kB / 365.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.1186, allocations: 203.9 kB / 365.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005222/0.1191, allocations: 0.6192 MB / 366.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.1196, allocations: 0.5278 MB / 367 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.1225, allocations: 3.728 MB / 370.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1225, allocations: 4 kB / 370.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1225, allocations: 3.938 kB / 370.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.573e-05/0.1226, allocations: 0 / 370.7 MB, free: 8.062 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.004783/0.1274, allocations: 2.546 MB / 373.3 MB, free: 5.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1274, allocations: 12.03 kB / 373.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.1282, allocations: 312.7 kB / 373.6 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.1308, allocations: 1.542 MB / 375.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.131, allocations: 160.4 kB / 375.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.1313, allocations: 216 kB / 375.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005258/0.1365, allocations: 3.155 MB / 378.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.1366, allocations: 0 / 378.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.1368, allocations: 91.91 kB / 378.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.1369, allocations: 112.4 kB / 378.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004441/0.1414, allocations: 2.723 MB / 381.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.1551, allocations: 8.935 MB / 390.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.1583, allocations: 3.387 MB / 393.9 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.1586, allocations: 126.4 kB / 394 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.1587, allocations: 51.95 kB / 394.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.146e-06/0.1587, allocations: 0 / 394.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.01024/0.1689, allocations: 5.823 MB / 399.9 MB, free: 10 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.169, allocations: 68.7 kB / 400 MB, free: 9.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.1709, allocations: 1.482 MB / 401.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/0.171, allocations: 49.7 kB / 401.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/0.1717, allocations: 0.9331 MB / 402.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.172, allocations: 445.5 kB / 402.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.1721, allocations: 24 kB / 402.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1722, allocations: 353.9 kB / 403.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009885/0.1732, allocations: 0.7091 MB / 403.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.1744, allocations: 0.8746 MB / 404.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.1756, allocations: 0.8222 MB / 405.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1756, allocations: 3.984 kB / 405.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00374/0.1793, allocations: 2.337 MB / 408 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.1794, allocations: 11.94 kB / 408 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1794, allocations: 4 kB / 408 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/0.1821, allocations: 0.8233 MB / 408.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.1829, allocations: 211.7 kB / 409 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.1947, allocations: 10.72 MB / 419.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.196, allocations: 55.95 kB / 419.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.1961, allocations: 39.95 kB / 419.8 MB, free: 5.375 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: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001589/0.1977, allocations: 0.8246 MB / 420.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.198, allocations: 158.1 kB / 420.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/0.2019, allocations: 2.3 MB / 423.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.2019, allocations: 15.95 kB / 423.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.202, allocations: 4.25 kB / 423.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.202, allocations: 7.969 kB / 423.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2287/0.4307, allocations: 4.763 MB / 427.9 MB, free: 62.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4308, allocations: 0 / 427.9 MB, free: 62.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.4315, allocations: 167 kB / 428.1 MB, free: 62.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002765/0.4343, allocations: 0.8023 MB / 428.9 MB, free: 62.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.4344, allocations: 29.69 kB / 428.9 MB, free: 62.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/0.4459, allocations: 10.61 MB / 439.5 MB, free: 57.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4459, allocations: 1.375 kB / 439.5 MB, free: 57.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.4508, allocations: 3.29 MB / 442.8 MB, free: 56.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008581/0.4516, allocations: 408.3 kB / 443.2 MB, free: 56.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.4518, allocations: 36.25 kB / 443.2 MB, free: 56.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/0.4526, allocations: 74.78 kB / 443.3 MB, free: 56.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.4529, allocations: 121.1 kB / 443.4 MB, free: 56.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.4529, allocations: 32.03 kB / 443.5 MB, free: 56.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001294/0.4542, allocations: 1.041 MB / 444.5 MB, free: 55.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4543, allocations: 0 / 444.5 MB, free: 55.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00162/0.4559, allocations: 0.5185 MB / 445 MB, free: 55.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003667/0.4563, allocations: 178.7 kB / 445.2 MB, free: 55.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.4594, allocations: 2.414 MB / 447.6 MB, free: 54.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4594, allocations: 6.812 kB / 447.6 MB, free: 54.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.4613, allocations: 1.625 MB / 449.2 MB, free: 53.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.4629, allocations: 478.4 kB / 449.7 MB, free: 53.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.4696, allocations: 5.451 MB / 455.2 MB, free: 48.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.4709, allocations: 2.078 MB / 457.2 MB, free: 46.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009562/0.4719, allocations: 317.4 kB / 457.5 MB, free: 46.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.4721, allocations: 91.44 kB / 457.6 MB, free: 46.24 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4721, allocations: 0 / 457.6 MB, free: 46.24 MB / 350.1 MB Notification: Performance of Templates: time 0.04132/0.5135, allocations: 29.74 MB / 487.4 MB, free: 16.83 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches