Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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 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.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.002647/0.002647, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002457/0.002457, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.538/1.538, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.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.001506/0.001506, allocations: 55.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.263, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0132/0.2762, allocations: 10.66 MB / 336 MB, free: 9.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008091/0.2844, allocations: 3.257 MB / 339.2 MB, free: 5.961 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.287, allocations: 71.62 kB / 339.3 MB, free: 5.891 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.2896, allocations: 0.7021 MB / 340 MB, free: 5.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.2941, allocations: 1.15 MB / 341.2 MB, free: 4.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.2959, allocations: 499.4 kB / 341.6 MB, free: 3.539 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007247/0.3031, allocations: 5.245 MB / 346.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007386/0.3105, allocations: 4.112 MB / 351 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005828/0.3164, allocations: 2.369 MB / 353.4 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005043/0.3215, allocations: 2.759 MB / 356.1 MB, free: 4.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.3225, allocations: 0.6211 MB / 356.7 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.324, allocations: 0.7069 MB / 357.5 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.3255, allocations: 1.625 MB / 359.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003924/0.3294, allocations: 2.766 MB / 361.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007966/0.3374, allocations: 8.327 MB / 370.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3374, allocations: 0 / 370.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3375, allocations: 0 / 370.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001635/0.3376, allocations: 8 kB / 370.2 MB, free: 6.848 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01167/0.3493, allocations: 5.083 MB / 375.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.3494, allocations: 8.031 kB / 375.3 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.3508, allocations: 0.5537 MB / 375.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.3553, allocations: 2.6 MB / 378.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.3556, allocations: 287.8 kB / 378.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005713/0.3562, allocations: 391.9 kB / 379.1 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.3694, allocations: 5.785 MB / 384.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.008e-05/0.3695, allocations: 11.94 kB / 384.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/0.3699, allocations: 164 kB / 385 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.3702, allocations: 208 kB / 385.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.3823, allocations: 5.008 MB / 390.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0433/0.4256, allocations: 16.39 MB / 406.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009552/0.4352, allocations: 6.824 MB / 413.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005526/0.4408, allocations: 2.638 MB / 416.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.4414, allocations: 139.1 kB / 416.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.289e-05/0.4415, allocations: 64.5 kB / 416.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 6.382e-06/0.4415, allocations: 0 / 416.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02972/0.4713, allocations: 10.69 MB / 427 MB, free: 12.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.4714, allocations: 77.42 kB / 427.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008091/0.4795, allocations: 2.636 MB / 429.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006969/0.4803, allocations: 65.7 kB / 429.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.4824, allocations: 1.648 MB / 431.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001984/0.4844, allocations: 0.8355 MB / 432.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/0.4862, allocations: 408.6 kB / 432.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4864, allocations: 309.1 kB / 433 MB, free: 6.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.4889, allocations: 1.336 MB / 434.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/0.4919, allocations: 1.654 MB / 435.9 MB, free: 3.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005583/0.4975, allocations: 3.079 MB / 439 MB, free: 324 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.4975, allocations: 0 / 439 MB, free: 324 kB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009424/0.507, allocations: 4.457 MB / 443.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.5071, allocations: 4 kB / 443.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.5071, allocations: 15.88 kB / 443.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00512/0.5122, allocations: 1.542 MB / 445 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.5141, allocations: 391.5 kB / 445.4 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2511/0.7652, allocations: 25.74 MB / 471.2 MB, free: 97.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.7678, allocations: 98.08 kB / 471.3 MB, free: 96.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004411/0.7682, allocations: 75.16 kB / 471.3 MB, free: 96.96 MB / 382.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.003228/0.7715, allocations: 1.416 MB / 472.7 MB, free: 96.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/0.7727, allocations: 297.3 kB / 473 MB, free: 96.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007828/0.7805, allocations: 4.38 MB / 477.4 MB, free: 94.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.7806, allocations: 30.81 kB / 477.4 MB, free: 94.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-05/0.7806, allocations: 7.938 kB / 477.5 MB, free: 94.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.7807, allocations: 11.06 kB / 477.5 MB, free: 94.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.7965, allocations: 8.878 MB / 486.3 MB, free: 87.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.7966, allocations: 6.875 kB / 486.4 MB, free: 87.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.7977, allocations: 285 kB / 486.6 MB, free: 86.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/0.8018, allocations: 1.51 MB / 488.1 MB, free: 85.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003127/0.8022, allocations: 63.91 kB / 488.2 MB, free: 85.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/0.823, allocations: 25.51 MB / 0.5017 GB, free: 58.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8231, allocations: 0 / 0.5017 GB, free: 58.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008867/0.832, allocations: 6.088 MB / 0.5076 GB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/0.8335, allocations: 0.6771 MB / 0.5083 GB, free: 51.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008455/0.8344, allocations: 63.92 kB / 0.5083 GB, free: 51.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.8361, allocations: 119.9 kB / 0.5085 GB, free: 51.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005294/0.8367, allocations: 213.6 kB / 0.5087 GB, free: 51.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/0.8369, allocations: 64 kB / 0.5087 GB, free: 51.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003149/0.84, allocations: 1.848 MB / 0.5105 GB, free: 49.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.84, allocations: 0 / 0.5105 GB, free: 49.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004737/0.8448, allocations: 0.9619 MB / 0.5115 GB, free: 48.62 MB / 382.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.0007807/0.8456, allocations: 256.3 kB / 0.5117 GB, free: 48.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01205/0.8576, allocations: 6.96 MB / 0.5185 GB, free: 41.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.8577, allocations: 2.625 kB / 0.5185 GB, free: 41.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00484/0.8626, allocations: 3.359 MB / 0.5218 GB, free: 37.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006938/0.8696, allocations: 0.9554 MB / 0.5227 GB, free: 36.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.8852, allocations: 8.522 MB / 0.531 GB, free: 28.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002716/0.888, allocations: 3.169 MB / 0.5341 GB, free: 25.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001853/0.8898, allocations: 0.5791 MB / 0.5347 GB, free: 24.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.8903, allocations: 171.4 kB / 0.5349 GB, free: 24.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.8903, allocations: 0 / 0.5349 GB, free: 24.38 MB / 382.1 MB Notification: Performance of Templates: time 0.1086/0.9989, allocations: 62.05 MB / 0.5955 GB, free: 10.24 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)