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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 247.5 MB, free: 9.473 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002694, allocations: 8 kB / 308.4 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09517, allocations: 51.52 MB / 359.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009431/0.1047, allocations: 10.08 MB / 370 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2227/0.3274, allocations: 3.181 MB / 373.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.3303, allocations: 76.03 kB / 373.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.3326, allocations: 0.5889 MB / 373.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005806/0.3384, allocations: 1.061 MB / 374.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.3404, allocations: 417.4 kB / 375.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.352, allocations: 5.869 MB / 381.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006778/0.3588, allocations: 3.993 MB / 385.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007085/0.3659, allocations: 1.762 MB / 386.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006291/0.3723, allocations: 2.321 MB / 389.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001398/0.3737, allocations: 269.6 kB / 389.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.3763, allocations: 368.1 kB / 389.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.3777, allocations: 1.196 MB / 391.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005696/0.3834, allocations: 2.304 MB / 393.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008623/0.3921, allocations: 6.834 MB / 400.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3921, allocations: 7.125 kB / 400.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3921, allocations: 0 / 400.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003276/0.3925, allocations: 0 / 400.2 MB, free: 14.07 MB / 318.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.01298/0.4054, allocations: 4.303 MB / 404.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.4055, allocations: 8.031 kB / 404.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.4086, allocations: 0.5849 MB / 405.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006457/0.4151, allocations: 2.762 MB / 407.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.4153, allocations: 294.7 kB / 408.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/0.4165, allocations: 387.6 kB / 408.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.4289, allocations: 5.811 MB / 414.3 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/0.429, allocations: 0 / 414.3 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003912/0.4294, allocations: 165.9 kB / 414.5 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/0.4296, allocations: 208 kB / 414.7 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009813/0.4395, allocations: 5.037 MB / 419.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.4714, allocations: 16.52 MB / 436.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00727/0.4787, allocations: 6.802 MB / 443.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/0.4828, allocations: 2.649 MB / 445.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.4832, allocations: 134.9 kB / 445.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.4832, allocations: 64.55 kB / 445.9 MB, free: 188 kB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.278e-06/0.4833, allocations: 0 / 445.9 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02155/0.5048, allocations: 10.77 MB / 456.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.5049, allocations: 77.42 kB / 456.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004911/0.5098, allocations: 2.644 MB / 459.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000568/0.5104, allocations: 73.64 kB / 459.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.5118, allocations: 1.647 MB / 461.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.5129, allocations: 0.8386 MB / 462 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.5132, allocations: 198.5 kB / 462.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5133, allocations: 305.1 kB / 462.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.5156, allocations: 1.344 MB / 463.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002471/0.5181, allocations: 1.658 MB / 465.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/0.5226, allocations: 3.09 MB / 468.5 MB, free: 9.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.5226, allocations: 7.938 kB / 468.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007699/0.5303, allocations: 4.472 MB / 473 MB, free: 4.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.5304, allocations: 10.81 kB / 473 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.5304, allocations: 8 kB / 473 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00555/0.536, allocations: 1.649 MB / 474.7 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.5378, allocations: 391.5 kB / 475.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02588/0.5637, allocations: 23.52 MB / 498.6 MB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.5669, allocations: 99.92 kB / 498.7 MB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/0.5674, allocations: 72 kB / 498.8 MB, free: 9.375 MB / 414.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 (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.003229/0.5707, allocations: 1.415 MB / 0.4884 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009158/0.5716, allocations: 296.5 kB / 0.4887 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007933/0.5795, allocations: 4.391 MB / 0.493 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.5796, allocations: 24 kB / 0.493 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.5796, allocations: 12 kB / 0.4931 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.5796, allocations: 11.95 kB / 0.4931 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.5962, allocations: 8.925 MB / 0.5018 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.5963, allocations: 4 kB / 0.5018 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.5976, allocations: 295.6 kB / 0.5021 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005531/0.6031, allocations: 1.619 MB / 0.5036 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/0.6034, allocations: 59.98 kB / 0.5037 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2285/0.832, allocations: 23.25 MB / 0.5264 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.832, allocations: 0.6562 kB / 0.5264 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009958/0.842, allocations: 6.106 MB / 0.5324 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.8436, allocations: 0.6777 MB / 0.533 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004678/0.8441, allocations: 65.11 kB / 0.5331 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.8455, allocations: 135.4 kB / 0.5332 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/0.846, allocations: 209.5 kB / 0.5334 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.8461, allocations: 64.27 kB / 0.5335 GB, free: 136.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002861/0.849, allocations: 1.861 MB / 0.5353 GB, free: 136.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.849, allocations: 0 / 0.5353 GB, free: 136.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00412/0.8532, allocations: 0.9513 MB / 0.5362 GB, free: 136.3 MB / 446.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 (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.0007196/0.8539, allocations: 241.9 kB / 0.5365 GB, free: 136.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0076/0.8615, allocations: 4.855 MB / 0.5412 GB, free: 133.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.8615, allocations: 0.875 kB / 0.5412 GB, free: 133.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004611/0.8662, allocations: 3.357 MB / 0.5445 GB, free: 131.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/0.8709, allocations: 0.9 MB / 0.5454 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.8844, allocations: 10.34 MB / 0.5555 GB, free: 126 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/0.8869, allocations: 3.104 MB / 0.5585 GB, free: 124.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008135/0.8878, allocations: 173.1 kB / 0.5587 GB, free: 124.7 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.8878, allocations: 0 / 0.5587 GB, free: 124.7 MB / 446.1 MB Notification: Performance of Templates: time 0.3878/1.276, allocations: 261.2 MB / 0.8137 GB, free: 45.46 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches