Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001083/0.001083, allocations: 93.91 kB / 16.32 MB, free: 5.676 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.001354/0.001354, allocations: 182.4 kB / 17.21 MB, free: 5.594 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.418/1.418, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.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.0004085/0.0004085, allocations: 15.98 kB / 280.1 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08569, allocations: 47.58 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008796/0.09453, allocations: 9.382 MB / 337.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006006/0.1006, allocations: 3.137 MB / 340.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.1022, allocations: 63.62 kB / 340.3 MB, free: 7.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.1035, allocations: 0.5356 MB / 340.8 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.1064, allocations: 1.006 MB / 341.9 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.1073, allocations: 303.7 kB / 342.2 MB, free: 5.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006172/0.1135, allocations: 5.451 MB / 347.6 MB, free: 120 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003676/0.1172, allocations: 2.886 MB / 350.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.1204, allocations: 1.724 MB / 352.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/0.1239, allocations: 2.241 MB / 354.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005472/0.1245, allocations: 280 kB / 354.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1255, allocations: 339.9 kB / 355.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.1266, allocations: 1.203 MB / 356.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.1279, allocations: 0.9408 MB / 357.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006691/0.1346, allocations: 6.825 MB / 364 MB, free: 15.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1346, allocations: 0 / 364 MB, free: 15.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1346, allocations: 0 / 364 MB, free: 15.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002143/0.1349, allocations: 4 kB / 364 MB, free: 15.59 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.009251/0.1441, allocations: 4.312 MB / 368.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1442, allocations: 8.031 kB / 368.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.146, allocations: 0.545 MB / 368.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.1505, allocations: 2.511 MB / 371.4 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.1508, allocations: 291.8 kB / 371.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005883/0.1514, allocations: 388 kB / 372.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009778/0.1612, allocations: 5.766 MB / 377.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.796e-05/0.1612, allocations: 4 kB / 377.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000352/0.1616, allocations: 164 kB / 378 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/0.1618, allocations: 208 kB / 378.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2216/0.3834, allocations: 4.989 MB / 383.2 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03026/0.4138, allocations: 16.5 MB / 399.7 MB, free: 37.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.4198, allocations: 6.805 MB / 406.5 MB, free: 31.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/0.4233, allocations: 2.682 MB / 409.2 MB, free: 29.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/0.4237, allocations: 139.9 kB / 409.3 MB, free: 29.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.4237, allocations: 60.5 kB / 409.4 MB, free: 29.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 6.803e-06/0.4238, allocations: 3.984 kB / 409.4 MB, free: 29.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01928/0.443, allocations: 10.71 MB / 420.1 MB, free: 18.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4431, allocations: 81.42 kB / 420.2 MB, free: 17.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004875/0.448, allocations: 2.612 MB / 422.8 MB, free: 15.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.4482, allocations: 73.7 kB / 422.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.4494, allocations: 1.627 MB / 424.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006133/0.45, allocations: 0.845 MB / 425.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.4501, allocations: 52 kB / 425.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4503, allocations: 402.7 kB / 425.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.452, allocations: 1.336 MB / 427.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.4539, allocations: 1.647 MB / 428.8 MB, free: 9.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.4559, allocations: 1.577 MB / 430.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4559, allocations: 0 / 430.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006243/0.4621, allocations: 4.445 MB / 434.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.4622, allocations: 12.06 kB / 434.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.4622, allocations: 8 kB / 434.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004758/0.467, allocations: 1.639 MB / 436.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.4684, allocations: 395.4 kB / 436.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02568/0.4941, allocations: 23.49 MB / 460.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.4967, allocations: 91.92 kB / 460.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004653/0.4971, allocations: 80 kB / 460.5 MB, free: 8.066 MB / 350.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 (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 initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00368/0.5008, allocations: 1.399 MB / 461.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/0.5019, allocations: 296.5 kB / 462.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007965/0.5099, allocations: 4.372 MB / 466.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.51, allocations: 24 kB / 466.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.51, allocations: 11.98 kB / 466.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.51, allocations: 11.95 kB / 466.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.5262, allocations: 8.89 MB / 475.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.5263, allocations: 0 / 475.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.5275, allocations: 302 kB / 475.8 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005273/0.5328, allocations: 1.609 MB / 477.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002342/0.533, allocations: 59.97 kB / 477.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/0.5579, allocations: 23.24 MB / 0.4889 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5579, allocations: 0.6562 kB / 0.4889 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.5686, allocations: 6.078 MB / 0.4949 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/0.5707, allocations: 0.681 MB / 0.4956 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007165/0.5714, allocations: 51.95 kB / 0.4956 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.5729, allocations: 135.9 kB / 0.4957 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006093/0.5735, allocations: 217.6 kB / 0.4959 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.5737, allocations: 64.97 kB / 0.496 GB, free: 6.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003167/0.5769, allocations: 1.825 MB / 0.4978 GB, free: 5.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5769, allocations: 0 / 0.4978 GB, free: 5.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004282/0.5812, allocations: 0.9565 MB / 0.4987 GB, free: 4.203 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006596/0.5819, allocations: 224.6 kB / 0.4989 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007277/0.5891, allocations: 4.844 MB / 0.5037 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5892, allocations: 0 / 0.5037 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004768/0.5939, allocations: 3.357 MB / 0.5069 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/0.5984, allocations: 0.9186 MB / 0.5078 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.6141, allocations: 9.934 MB / 0.5175 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003097/0.6172, allocations: 3.161 MB / 0.5206 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002071/0.6193, allocations: 0.5713 MB / 0.5212 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/0.6198, allocations: 167.4 kB / 0.5213 GB, free: 12.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6198, allocations: 4 kB / 0.5213 GB, free: 12.68 MB / 430.1 MB Notification: Performance of Templates: time 0.358/0.9778, allocations: 56.8 MB / 0.5768 GB, free: 113.8 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)