Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.0009159/0.0009162, allocations: 96.7 kB / 17.3 MB, free: 6.387 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.001621/0.001621, allocations: 177.1 kB / 18.21 MB, free: 5.551 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.918/1.918, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005553/0.0005551, allocations: 8 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.108, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007271/0.1153, allocations: 6.326 MB / 335.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005047/0.1204, allocations: 2.291 MB / 337.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.1218, allocations: 39.75 kB / 337.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.1232, allocations: 377.8 kB / 338 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.1255, allocations: 0.6141 MB / 338.6 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.1262, allocations: 247.8 kB / 338.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.1295, allocations: 3.292 MB / 342.1 MB, free: 6.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.1318, allocations: 2.023 MB / 344.2 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.1346, allocations: 0.9804 MB / 345.1 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.1364, allocations: 1.299 MB / 346.4 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.1366, allocations: 152 kB / 346.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006004/0.1372, allocations: 251.8 kB / 346.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005988/0.1378, allocations: 0.6656 MB / 347.5 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.1394, allocations: 1.292 MB / 348.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005415/0.1448, allocations: 4.325 MB / 353.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.1448, allocations: 8 kB / 353.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1448, allocations: 0 / 353.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001254/0.145, allocations: 0 / 353.1 MB, free: 11.45 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.005367/0.1503, allocations: 2.5 MB / 355.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.1504, allocations: 12.03 kB / 355.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.1512, allocations: 305.6 kB / 355.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.1535, allocations: 1.503 MB / 357.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.1536, allocations: 164.4 kB / 357.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.154, allocations: 212 kB / 357.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00543/0.1594, allocations: 3.182 MB / 361 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.1595, allocations: 4 kB / 361 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.1597, allocations: 88 kB / 361.1 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.1598, allocations: 112.4 kB / 361.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004634/0.1645, allocations: 2.734 MB / 363.9 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.18, allocations: 8.978 MB / 372.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/0.1847, allocations: 3.382 MB / 376.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.187, allocations: 1.335 MB / 377.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.1873, allocations: 118.4 kB / 377.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.1874, allocations: 55.75 kB / 377.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 6.492e-06/0.1874, allocations: 3.984 kB / 377.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2672/0.4546, allocations: 5.677 MB / 383.5 MB, free: 50.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.4547, allocations: 68.31 kB / 383.5 MB, free: 50.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.4579, allocations: 1.489 MB / 385 MB, free: 49.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.4581, allocations: 51.95 kB / 385.1 MB, free: 49.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008753/0.4589, allocations: 0.9365 MB / 386 MB, free: 48.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004506/0.4594, allocations: 450.3 kB / 386.5 MB, free: 48.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.4596, allocations: 106.4 kB / 386.6 MB, free: 48.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4598, allocations: 355 kB / 386.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.4611, allocations: 0.6977 MB / 387.6 MB, free: 47.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.4626, allocations: 0.8829 MB / 388.5 MB, free: 47.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.4654, allocations: 1.617 MB / 390.1 MB, free: 46.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.4654, allocations: 5.219 kB / 390.1 MB, free: 46.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004446/0.4699, allocations: 2.326 MB / 392.4 MB, free: 45.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4699, allocations: 9.906 kB / 392.4 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4699, allocations: 3.969 kB / 392.4 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.4725, allocations: 0.8231 MB / 393.3 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.4733, allocations: 205.2 kB / 393.5 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009497/0.4828, allocations: 10.53 MB / 404 MB, free: 37.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.4839, allocations: 57.78 kB / 404.1 MB, free: 37.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.484, allocations: 45.58 kB / 404.1 MB, free: 37.19 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: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001283/0.4853, allocations: 0.8171 MB / 404.9 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.4856, allocations: 158.8 kB / 405.1 MB, free: 36.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/0.4888, allocations: 2.285 MB / 407.4 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.4889, allocations: 12 kB / 407.4 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4889, allocations: 8.656 kB / 407.4 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4889, allocations: 11.97 kB / 407.4 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006394/0.4953, allocations: 4.766 MB / 412.2 MB, free: 30.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.4953, allocations: 192 / 412.2 MB, free: 30.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.4959, allocations: 167.8 kB / 412.3 MB, free: 30.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/0.4983, allocations: 0.8053 MB / 413.1 MB, free: 29.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/0.4984, allocations: 31.98 kB / 413.2 MB, free: 29.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008654/0.507, allocations: 10.42 MB / 423.6 MB, free: 18.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5071, allocations: 4.031 kB / 423.6 MB, free: 18.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004382/0.5114, allocations: 3.256 MB / 426.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008507/0.5123, allocations: 403.1 kB / 427.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.5125, allocations: 31.98 kB / 427.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007371/0.5133, allocations: 75.94 kB / 427.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.5136, allocations: 125.1 kB / 427.5 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.5136, allocations: 32 kB / 427.5 MB, free: 14.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001356/0.515, allocations: 1.056 MB / 428.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.515, allocations: 4 kB / 428.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001833/0.5169, allocations: 0.5143 MB / 429.1 MB, free: 12.67 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000471/0.5173, allocations: 206.2 kB / 429.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.5204, allocations: 2.409 MB / 431.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5204, allocations: 0 / 431.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.5223, allocations: 1.637 MB / 433.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.5245, allocations: 494.6 kB / 433.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/0.5313, allocations: 5.69 MB / 439.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.5326, allocations: 2.043 MB / 441.5 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001038/0.5336, allocations: 305.5 kB / 441.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.5339, allocations: 95.42 kB / 441.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5339, allocations: 4 kB / 441.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Templates: time 0.05181/0.5857, allocations: 30.57 MB / 472.5 MB, free: 1.043 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches