Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 105.2 kB / 17.74 MB, free: 5.312 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.001023/0.001024, allocations: 188.3 kB / 18.67 MB, free: 4.395 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000979/0.000979, allocations: 59.91 kB / 352 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2298, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01116/0.241, allocations: 10.71 MB / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006076/0.2471, allocations: 3.182 MB / 415.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.2487, allocations: 87.62 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.2506, allocations: 0.7177 MB / 416.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.2537, allocations: 1.173 MB / 417.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.2548, allocations: 463.5 kB / 417.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005129/0.2599, allocations: 5.139 MB / 422.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005383/0.2653, allocations: 4.787 MB / 427.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.269, allocations: 2.392 MB / 430.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.2728, allocations: 2.767 MB / 432.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.2741, allocations: 0.6211 MB / 433.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.276, allocations: 0.7069 MB / 434.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.2777, allocations: 1.629 MB / 435.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.2808, allocations: 2.773 MB / 438.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006914/0.2878, allocations: 8.401 MB / 447 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2878, allocations: 4 kB / 447 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2878, allocations: 0 / 447 MB, free: 11.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001377/0.2879, allocations: 0 / 447 MB, free: 11.1 MB / 366.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.009541/0.2975, allocations: 5.111 MB / 452.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2975, allocations: 8.031 kB / 452.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.2989, allocations: 0.5459 MB / 452.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/0.3039, allocations: 2.853 MB / 455.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.3041, allocations: 291.8 kB / 455.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006087/0.3047, allocations: 380 kB / 456.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009506/0.3142, allocations: 5.801 MB / 462 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.124e-05/0.3143, allocations: 7.938 kB / 462 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.3147, allocations: 160 kB / 462.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.3149, allocations: 208 kB / 462.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007915/0.3228, allocations: 5.024 MB / 467.4 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.3469, allocations: 16.19 MB / 483.5 MB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006148/0.3531, allocations: 6.798 MB / 490.3 MB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003618/0.3568, allocations: 2.619 MB / 493 MB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.3571, allocations: 131.1 kB / 493.1 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.3571, allocations: 60.56 kB / 493.2 MB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.288e-06/0.3571, allocations: 0 / 493.2 MB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.01905/0.3762, allocations: 10.71 MB / 0.4921 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3763, allocations: 77.42 kB / 0.4921 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/0.3799, allocations: 2.628 MB / 0.4947 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.3801, allocations: 69.7 kB / 0.4948 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.3812, allocations: 1.64 MB / 0.4964 GB, free: 12.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006041/0.3818, allocations: 0.8394 MB / 0.4972 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/0.3824, allocations: 416.5 kB / 0.4976 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3826, allocations: 313 kB / 0.4979 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.3845, allocations: 1.336 MB / 0.4992 GB, free: 9.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.3866, allocations: 1.647 MB / 0.5008 GB, free: 7.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004113/0.3907, allocations: 3.091 MB / 0.5038 GB, free: 4.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3907, allocations: 0 / 0.5038 GB, free: 4.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007173/0.3979, allocations: 4.457 MB / 0.5082 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3979, allocations: 11.98 kB / 0.5082 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.398, allocations: 8 kB / 0.5082 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005135/0.4031, allocations: 1.648 MB / 0.5098 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.4046, allocations: 391.5 kB / 0.5102 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/0.4296, allocations: 25.74 MB / 0.5353 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.4315, allocations: 99.92 kB / 0.5354 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/0.4317, allocations: 76 kB / 0.5355 GB, free: 2.598 MB / 462.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.002159/0.4339, allocations: 1.415 MB / 0.5368 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/0.4345, allocations: 292.5 kB / 0.5371 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.193/0.6275, allocations: 4.374 MB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/0.6275, allocations: 12.08 kB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.6275, allocations: 7.812 kB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/0.6291, allocations: 0.6853 MB / 0.5421 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006534/0.6298, allocations: 54.39 kB / 0.5421 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.6311, allocations: 116.2 kB / 0.5422 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.6314, allocations: 213.2 kB / 0.5424 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007486/0.6389, allocations: 4.79 MB / 0.5471 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005262/0.6442, allocations: 5.231 MB / 0.5522 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001521/0.6457, allocations: 1.563 MB / 0.5538 GB, free: 123.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002014/0.6478, allocations: 1.85 MB / 0.5556 GB, free: 121.9 MB / 462.1 MB Notification: Performance of Backend: time 3.4e-07/0.6478, allocations: 0 / 0.5556 GB, free: 121.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00495/0.6527, allocations: 3.858 MB / 0.5593 GB, free: 118 MB / 462.1 MB Notification: Performance of SimCode: time 0.01002/0.6628, allocations: 9.149 MB / 0.5683 GB, free: 108.9 MB / 462.1 MB Notification: Performance of Templates: time 0.06753/0.7303, allocations: 58.1 MB / 0.625 GB, free: 51.54 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)