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.01015/0.01015, allocations: 99.94 kB / 15.73 MB, free: 6.008 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.002049/0.002049, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.846/1.846, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001219/0.001219, allocations: 57.5 kB / 326.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1282, allocations: 46.62 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01242/0.1407, allocations: 10.64 MB / 383.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.1501, allocations: 3.28 MB / 387.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003905/0.1541, allocations: 71.62 kB / 387.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.1573, allocations: 0.7099 MB / 387.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006056/0.1634, allocations: 1.134 MB / 389 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1652, allocations: 495.4 kB / 389.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008091/0.1733, allocations: 5.284 MB / 394.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005252/0.1786, allocations: 4.116 MB / 398.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006206/0.1849, allocations: 2.376 MB / 401.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005349/0.1902, allocations: 2.756 MB / 404.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.1919, allocations: 0.6211 MB / 404.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.1941, allocations: 0.703 MB / 405.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.1957, allocations: 1.636 MB / 407 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007548/0.2033, allocations: 2.754 MB / 409.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009247/0.2126, allocations: 8.413 MB / 418.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2126, allocations: 4 kB / 418.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2126, allocations: 0 / 418.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002591/0.2129, allocations: 0 / 418.2 MB, free: 4.062 MB / 350.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.01564/0.2285, allocations: 5.068 MB / 423.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.2286, allocations: 12.03 kB / 423.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.2303, allocations: 0.5498 MB / 423.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/0.2358, allocations: 2.627 MB / 426.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.236, allocations: 291.8 kB / 426.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006978/0.2367, allocations: 391.9 kB / 427.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.2485, allocations: 5.797 MB / 432.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.935e-05/0.2486, allocations: 0 / 432.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004314/0.2491, allocations: 164 kB / 433.1 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/0.2493, allocations: 204 kB / 433.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009964/0.2593, allocations: 5.009 MB / 438.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3949/0.6542, allocations: 16.19 MB / 454.5 MB, free: 63.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.6646, allocations: 6.807 MB / 461.3 MB, free: 59.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0057/0.6704, allocations: 2.622 MB / 463.9 MB, free: 58.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/0.6709, allocations: 140.2 kB / 464 MB, free: 58.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/0.671, allocations: 59.11 kB / 464.1 MB, free: 58.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 6.292e-06/0.671, allocations: 0 / 464.1 MB, free: 58.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.02263/0.6936, allocations: 10.69 MB / 474.8 MB, free: 54.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.6937, allocations: 80.98 kB / 474.9 MB, free: 54.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.698, allocations: 2.634 MB / 477.5 MB, free: 53.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.6983, allocations: 76.89 kB / 477.6 MB, free: 53.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.6993, allocations: 1.633 MB / 479.2 MB, free: 51.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000705/0.7, allocations: 0.8454 MB / 480 MB, free: 50.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005912/0.7006, allocations: 414.2 kB / 480.5 MB, free: 50.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.7007, allocations: 305.1 kB / 480.7 MB, free: 50.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.7024, allocations: 1.336 MB / 482.1 MB, free: 49.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.7043, allocations: 1.66 MB / 483.7 MB, free: 48.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.7076, allocations: 3.078 MB / 486.8 MB, free: 46.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.7076, allocations: 3.625 kB / 486.8 MB, free: 46.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00617/0.7138, allocations: 4.452 MB / 491.3 MB, free: 42.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.7139, allocations: 12.06 kB / 491.3 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.7139, allocations: 8 kB / 491.3 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003966/0.7179, allocations: 1.528 MB / 492.8 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.7193, allocations: 389.2 kB / 493.2 MB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/0.7386, allocations: 25.74 MB / 0.5068 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.7415, allocations: 95.86 kB / 0.5069 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.7418, allocations: 76 kB / 0.5069 GB, free: 13.44 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.003096/0.7449, allocations: 1.403 MB / 0.5083 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.7459, allocations: 300.5 kB / 0.5086 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006652/0.7526, allocations: 4.376 MB / 0.5129 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.7526, allocations: 24 kB / 0.5129 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.7526, allocations: 8 kB / 0.5129 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.7527, allocations: 15.95 kB / 0.5129 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.7676, allocations: 8.77 MB / 0.5215 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.7676, allocations: 0 / 0.5215 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.7688, allocations: 291.7 kB / 0.5218 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004488/0.7733, allocations: 1.499 MB / 0.5232 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/0.7735, allocations: 63.97 kB / 0.5233 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02647/0.8, allocations: 25.5 MB / 0.5482 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.8, allocations: 3.938 kB / 0.5482 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.8103, allocations: 6.094 MB / 0.5541 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/0.8125, allocations: 0.6694 MB / 0.5548 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005214/0.8131, allocations: 56 kB / 0.5549 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.8145, allocations: 123.8 kB / 0.555 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007108/0.8152, allocations: 209.7 kB / 0.5552 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.8154, allocations: 67.98 kB / 0.5552 GB, free: 10.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002902/0.8183, allocations: 1.856 MB / 0.5571 GB, free: 8.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.8183, allocations: 0 / 0.5571 GB, free: 8.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004225/0.8225, allocations: 0.9569 MB / 0.558 GB, free: 7.465 MB / 430.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.0006443/0.8232, allocations: 233.8 kB / 0.5582 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007435/0.8306, allocations: 4.875 MB / 0.563 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.8306, allocations: 3.938 kB / 0.563 GB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005061/0.8357, allocations: 3.352 MB / 0.5662 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/0.8404, allocations: 0.9537 MB / 0.5672 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.8558, allocations: 8.422 MB / 0.5754 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/0.8592, allocations: 3.165 MB / 0.5785 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001963/0.8612, allocations: 0.5791 MB / 0.5791 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.8617, allocations: 167.4 kB / 0.5792 GB, free: 1.383 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8617, allocations: 0 / 0.5792 GB, free: 1.383 MB / 446.1 MB Notification: Performance of Templates: time 0.3827/1.244, allocations: 60.11 MB / 0.6379 GB, free: 158.3 MB / 494.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)