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.001497/0.001496, allocations: 102.6 kB / 16.92 MB, free: 6.184 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.001307/0.001307, allocations: 191.3 kB / 17.85 MB, free: 5.32 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.954/1.954, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001568/0.001569, allocations: 52.39 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1331, allocations: 46.63 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01298/0.1462, allocations: 10.66 MB / 337.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008458/0.1547, allocations: 3.253 MB / 340.5 MB, free: 6.496 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.1577, allocations: 75.62 kB / 340.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.1602, allocations: 0.7137 MB / 341.3 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005372/0.1656, allocations: 1.13 MB / 342.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.1674, allocations: 499.4 kB / 342.9 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009582/0.177, allocations: 5.257 MB / 348.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005583/0.1826, allocations: 4.12 MB / 352.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005656/0.1883, allocations: 2.362 MB / 354.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005898/0.1942, allocations: 2.752 MB / 357.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002148/0.1964, allocations: 0.625 MB / 358.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.1993, allocations: 0.7067 MB / 358.8 MB, free: 4.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.2013, allocations: 1.629 MB / 360.4 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008625/0.21, allocations: 2.774 MB / 363.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.2214, allocations: 8.331 MB / 371.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.2215, allocations: 0 / 371.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.2215, allocations: 0 / 371.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000365/0.2219, allocations: 4 kB / 371.5 MB, free: 7.371 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.01739/0.2393, allocations: 5.083 MB / 376.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.2394, allocations: 11.97 kB / 376.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.2414, allocations: 0.546 MB / 377.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2793/0.5207, allocations: 2.598 MB / 379.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/0.5213, allocations: 293.2 kB / 380 MB, free: 48.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/0.5234, allocations: 382.6 kB / 380.4 MB, free: 47.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/0.5392, allocations: 5.792 MB / 386.2 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.603e-05/0.5393, allocations: 1.031 kB / 386.2 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000438/0.5398, allocations: 163 kB / 386.4 MB, free: 45.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/0.5401, allocations: 203.4 kB / 386.5 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.5523, allocations: 5.018 MB / 391.6 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02973/0.5821, allocations: 16.41 MB / 408 MB, free: 30.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005108/0.5873, allocations: 6.823 MB / 414.8 MB, free: 23.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.5902, allocations: 2.634 MB / 417.4 MB, free: 20.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.5905, allocations: 134.9 kB / 417.6 MB, free: 20.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.5906, allocations: 60.56 kB / 417.6 MB, free: 20.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 4.789e-06/0.5906, allocations: 3.938 kB / 417.6 MB, free: 20.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01754/0.6081, allocations: 10.69 MB / 428.3 MB, free: 9.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.6082, allocations: 81.42 kB / 428.4 MB, free: 9.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.6123, allocations: 2.643 MB / 431 MB, free: 6.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004539/0.6128, allocations: 69.7 kB / 431.1 MB, free: 6.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.6138, allocations: 1.636 MB / 432.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006931/0.6145, allocations: 0.8301 MB / 433.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/0.6151, allocations: 412.6 kB / 434 MB, free: 3.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.6152, allocations: 309.1 kB / 434.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.617, allocations: 1.34 MB / 435.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.6187, allocations: 1.65 MB / 437.3 MB, free: 476 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.623, allocations: 3.086 MB / 440.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.623, allocations: 4 kB / 440.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007949/0.6309, allocations: 4.453 MB / 444.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.631, allocations: 8 kB / 444.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.631, allocations: 8 kB / 444.8 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004704/0.6357, allocations: 1.541 MB / 446.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.6374, allocations: 391.5 kB / 446.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02743/0.6648, allocations: 25.75 MB / 472.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.667, allocations: 95.86 kB / 472.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.6672, allocations: 78.08 kB / 472.7 MB, free: 11.47 MB / 366.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.002656/0.6699, allocations: 1.411 MB / 474.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007335/0.6706, allocations: 292.5 kB / 474.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/0.6784, allocations: 4.383 MB / 478.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.6784, allocations: 28 kB / 478.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.6785, allocations: 8 kB / 478.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.6785, allocations: 11.95 kB / 478.8 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.6938, allocations: 8.886 MB / 487.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.6939, allocations: 0 / 487.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.695, allocations: 287.6 kB / 488 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004563/0.6996, allocations: 1.503 MB / 489.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/0.6999, allocations: 59.98 kB / 489.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02655/0.7264, allocations: 25.52 MB / 0.503 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7264, allocations: 0 / 0.503 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009991/0.7364, allocations: 6.09 MB / 0.5089 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/0.7382, allocations: 0.6733 MB / 0.5096 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.7387, allocations: 55.98 kB / 0.5096 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.74, allocations: 123.9 kB / 0.5097 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005661/0.7406, allocations: 213.6 kB / 0.5099 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.7408, allocations: 63.98 kB / 0.51 GB, free: 8.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002811/0.7436, allocations: 1.848 MB / 0.5118 GB, free: 6.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7436, allocations: 4 kB / 0.5118 GB, free: 6.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004042/0.7476, allocations: 0.9541 MB / 0.5127 GB, free: 5.367 MB / 414.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.0006681/0.7483, allocations: 249.3 kB / 0.513 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01254/0.7609, allocations: 6.965 MB / 0.5198 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.7609, allocations: 1.562 kB / 0.5198 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005064/0.766, allocations: 3.37 MB / 0.5231 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004383/0.7704, allocations: 0.954 MB / 0.524 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/0.7866, allocations: 8.524 MB / 0.5323 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1882/0.9748, allocations: 3.163 MB / 0.5354 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002571/0.9775, allocations: 0.5695 MB / 0.536 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005245/0.978, allocations: 169.3 kB / 0.5361 GB, free: 138.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.978, allocations: 0 / 0.5361 GB, free: 138.4 MB / 430.1 MB Notification: Performance of Templates: time 0.1033/1.081, allocations: 62.08 MB / 0.5968 GB, free: 94.6 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)