Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 105.8 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2177, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008017/0.2258, allocations: 10.63 MB / 417.7 MB, free: 17.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.2306, allocations: 3.182 MB / 420.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.2321, allocations: 79.62 kB / 421 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.2335, allocations: 0.5942 MB / 421.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.2355, allocations: 1.069 MB / 422.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.2362, allocations: 411.6 kB / 423 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004108/0.2403, allocations: 5.916 MB / 428.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003316/0.2436, allocations: 4.023 MB / 433 MB, free: 1.742 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/0.2478, allocations: 2.027 MB / 435 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004219/0.252, allocations: 2.646 MB / 437.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.2532, allocations: 388 kB / 438 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.2549, allocations: 495.8 kB / 438.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.2562, allocations: 1.371 MB / 439.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003537/0.2597, allocations: 2.488 MB / 442.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007187/0.267, allocations: 8.12 MB / 450.5 MB, free: 196 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.267, allocations: 0 / 450.5 MB, free: 196 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.267, allocations: 0 / 450.5 MB, free: 196 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001684/0.2672, allocations: 0 / 450.5 MB, free: 196 kB / 314.7 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.00988/0.2771, allocations: 5.103 MB / 455.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.2771, allocations: 12.03 kB / 455.6 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.2788, allocations: 0.5694 MB / 456.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/0.284, allocations: 2.744 MB / 458.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.2842, allocations: 295.8 kB / 459.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006115/0.2848, allocations: 391.9 kB / 459.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.2952, allocations: 5.809 MB / 465.4 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.258e-05/0.2953, allocations: 0 / 465.4 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.2957, allocations: 164 kB / 465.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/0.2959, allocations: 200 kB / 465.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.3061, allocations: 5.024 MB / 470.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02741/0.3336, allocations: 16.39 MB / 487.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/0.3397, allocations: 6.794 MB / 493.9 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/0.3432, allocations: 2.642 MB / 496.6 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.3435, allocations: 139.1 kB / 496.7 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.3435, allocations: 60.56 kB / 496.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 4.268e-06/0.3435, allocations: 0 / 496.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.02031/0.3639, allocations: 10.7 MB / 0.4956 GB, free: 5.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.3639, allocations: 81.42 kB / 0.4957 GB, free: 5.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/0.3677, allocations: 2.624 MB / 0.4982 GB, free: 3.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002961/0.368, allocations: 73.64 kB / 0.4983 GB, free: 2.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.3692, allocations: 1.636 MB / 0.4999 GB, free: 1.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008845/0.3701, allocations: 0.8509 MB / 0.5007 GB, free: 480 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000675/0.3708, allocations: 416.6 kB / 0.5011 GB, free: 56 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1588/0.5296, allocations: 304.9 kB / 0.5014 GB, free: 89.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/0.5322, allocations: 1.332 MB / 0.5027 GB, free: 89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.5343, allocations: 1.65 MB / 0.5043 GB, free: 88.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/0.5378, allocations: 3.085 MB / 0.5073 GB, free: 86.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.5378, allocations: 5.062 kB / 0.5073 GB, free: 86.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006886/0.5447, allocations: 4.448 MB / 0.5117 GB, free: 85.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.5447, allocations: 7.469 kB / 0.5117 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.5448, allocations: 7.531 kB / 0.5117 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/0.5493, allocations: 1.645 MB / 0.5133 GB, free: 84.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.5507, allocations: 393 kB / 0.5137 GB, free: 84.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01744/0.5682, allocations: 23.49 MB / 0.5366 GB, free: 61.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.5703, allocations: 95.86 kB / 0.5367 GB, free: 61.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.5704, allocations: 76 kB / 0.5368 GB, free: 61.8 MB / 378.7 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 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001742/0.5722, allocations: 1.41 MB / 0.5382 GB, free: 60.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005602/0.5728, allocations: 290.3 kB / 0.5384 GB, free: 60.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005843/0.5786, allocations: 4.382 MB / 0.5427 GB, free: 55.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5786, allocations: 24 kB / 0.5427 GB, free: 55.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.5787, allocations: 8 kB / 0.5428 GB, free: 55.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.5787, allocations: 11.95 kB / 0.5428 GB, free: 55.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.5898, allocations: 8.882 MB / 0.5514 GB, free: 46.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5899, allocations: 0 / 0.5514 GB, free: 46.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.5909, allocations: 287.7 kB / 0.5517 GB, free: 46.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004155/0.5951, allocations: 1.626 MB / 0.5533 GB, free: 44.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.5952, allocations: 59.97 kB / 0.5534 GB, free: 44.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/0.6116, allocations: 23.22 MB / 0.576 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6116, allocations: 0 / 0.576 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05677/0.6684, allocations: 47.55 MB / 0.6225 GB, free: 3.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.6699, allocations: 0.6694 MB / 0.6231 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/0.6702, allocations: 63.5 kB / 0.6232 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.6715, allocations: 128 kB / 0.6233 GB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/0.672, allocations: 205.6 kB / 0.6235 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.6722, allocations: 63.98 kB / 0.6236 GB, free: 2.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002509/0.6747, allocations: 1.852 MB / 0.6254 GB, free: 164 kB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6747, allocations: 4 kB / 0.6254 GB, free: 160 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.004543/0.6793, allocations: 1.349 MB / 0.6267 GB, free: 14.8 MB / 426.7 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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005623/0.6798, allocations: 245.9 kB / 0.6269 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006535/0.6864, allocations: 4.843 MB / 0.6317 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6864, allocations: 5.562 kB / 0.6317 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004452/0.6909, allocations: 3.338 MB / 0.6349 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.6948, allocations: 0.9078 MB / 0.6358 GB, free: 5.211 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.7124, allocations: 13.62 MB / 0.6491 GB, free: 7.457 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003432/0.7158, allocations: 3.291 MB / 0.6523 GB, free: 4.133 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001885/0.7177, allocations: 0.5869 MB / 0.6529 GB, free: 3.539 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.7182, allocations: 167.4 kB / 0.6531 GB, free: 3.375 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.7182, allocations: 4 kB / 0.6531 GB, free: 3.371 MB / 442.7 MB Notification: Performance of Templates: time 0.2706/0.9888, allocations: 70.05 MB / 0.7215 GB, free: 110.6 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches