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.001142/0.001142, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 64.06 kB / 307.6 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1262, allocations: 50.53 MB / 358.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01593/0.1422, allocations: 10.73 MB / 368.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007528/0.1497, allocations: 3.232 MB / 372.1 MB, free: 64 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1456/0.2953, allocations: 82.95 kB / 372.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.2975, allocations: 0.6977 MB / 372.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.3005, allocations: 1.137 MB / 374 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009782/0.3014, allocations: 481 kB / 374.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005333/0.3068, allocations: 5.121 MB / 379.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004696/0.3115, allocations: 4.788 MB / 384.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.3157, allocations: 2.39 MB / 386.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.3198, allocations: 2.768 MB / 389.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.3211, allocations: 0.6216 MB / 390.2 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.3232, allocations: 0.7028 MB / 390.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.3246, allocations: 1.636 MB / 392.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003946/0.3286, allocations: 2.763 MB / 395.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007268/0.3359, allocations: 8.355 MB / 403.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3359, allocations: 0 / 403.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3359, allocations: 0 / 403.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001937/0.3361, allocations: 7.938 kB / 403.7 MB, free: 10.75 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.01082/0.347, allocations: 5.102 MB / 408.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.347, allocations: 12.03 kB / 408.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.3486, allocations: 0.5732 MB / 409.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00456/0.3532, allocations: 2.773 MB / 412.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3534, allocations: 290.3 kB / 412.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006444/0.3541, allocations: 394.9 kB / 412.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008939/0.363, allocations: 5.799 MB / 418.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.924e-05/0.3631, allocations: 3.938 kB / 418.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/0.3635, allocations: 158.6 kB / 418.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.3637, allocations: 204 kB / 418.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008685/0.3724, allocations: 5.028 MB / 424 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02644/0.3988, allocations: 16.38 MB / 440.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009785/0.4087, allocations: 6.809 MB / 447.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00589/0.4146, allocations: 2.63 MB / 449.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004/0.415, allocations: 137 kB / 449.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.4151, allocations: 64.56 kB / 450 MB, free: 11.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=249): time 7.484e-06/0.4151, allocations: 0 / 450 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=256): time 0.03056/0.4457, allocations: 10.7 MB / 460.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.4458, allocations: 77.42 kB / 460.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005786/0.4516, allocations: 2.644 MB / 463.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.4519, allocations: 69.7 kB / 463.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.4537, allocations: 1.643 MB / 465.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.4548, allocations: 0.838 MB / 466 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/0.456, allocations: 420.6 kB / 466.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4562, allocations: 302.8 kB / 466.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.4595, allocations: 1.336 MB / 468 MB, free: 9.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/0.4633, allocations: 1.652 MB / 469.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007312/0.4706, allocations: 3.084 MB / 472.7 MB, free: 4.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.849e-05/0.4707, allocations: 7.938 kB / 472.7 MB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01244/0.4831, allocations: 4.453 MB / 477.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.4832, allocations: 10.66 kB / 477.2 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/0.4833, allocations: 8 kB / 477.2 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008212/0.4915, allocations: 1.66 MB / 478.9 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.4942, allocations: 391.5 kB / 479.3 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03826/0.5325, allocations: 25.76 MB / 0.4932 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.5348, allocations: 95.88 kB / 0.4933 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004008/0.5352, allocations: 76.22 kB / 0.4933 GB, free: 2.328 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.002768/0.538, allocations: 1.415 MB / 0.4947 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009073/0.5389, allocations: 296.5 kB / 0.495 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00798/0.5469, allocations: 4.38 MB / 0.4993 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.5469, allocations: 28 kB / 0.4993 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/0.5469, allocations: 8 kB / 0.4993 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.547, allocations: 11.95 kB / 0.4993 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.5625, allocations: 8.885 MB / 0.508 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5625, allocations: 0 / 0.508 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.5637, allocations: 283.6 kB / 0.5083 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005179/0.5689, allocations: 1.62 MB / 0.5099 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.5691, allocations: 59.97 kB / 0.5099 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2029/0.7721, allocations: 25.49 MB / 0.5348 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7721, allocations: 2.172 kB / 0.5348 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.7832, allocations: 6.093 MB / 0.5408 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.785, allocations: 0.6721 MB / 0.5414 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000823/0.7858, allocations: 61.89 kB / 0.5415 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/0.7878, allocations: 121.8 kB / 0.5416 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006504/0.7885, allocations: 211.5 kB / 0.5418 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/0.7887, allocations: 64.25 kB / 0.5419 GB, free: 130.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003929/0.7926, allocations: 1.856 MB / 0.5437 GB, free: 129.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7926, allocations: 5.266 kB / 0.5437 GB, free: 129.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004298/0.7969, allocations: 0.9472 MB / 0.5446 GB, free: 129.8 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.0006543/0.7976, allocations: 248.8 kB / 0.5448 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01109/0.8087, allocations: 6.96 MB / 0.5516 GB, free: 127.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.8088, allocations: 1.25 kB / 0.5516 GB, free: 127.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004283/0.813, allocations: 3.354 MB / 0.5549 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004763/0.8178, allocations: 0.9572 MB / 0.5559 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.831, allocations: 8.522 MB / 0.5642 GB, free: 120.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.8336, allocations: 3.104 MB / 0.5672 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.8343, allocations: 175 kB / 0.5674 GB, free: 117.8 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.8343, allocations: 0 / 0.5674 GB, free: 117.8 MB / 446.1 MB Notification: Performance of Templates: time 0.3195/1.154, allocations: 261.8 MB / 0.823 GB, free: 35.33 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