Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009784/0.0009786, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001021/0.001021, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.0004111/0.0004111, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2517, allocations: 47.57 MB / 326.4 MB, free: 1.285 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009441/0.2612, allocations: 8.586 MB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007667/0.2689, allocations: 3.256 MB / 338.3 MB, free: 7.523 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.272, allocations: 71.56 kB / 338.4 MB, free: 7.453 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.2744, allocations: 0.5751 MB / 338.9 MB, free: 6.875 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.2789, allocations: 0.9347 MB / 339.9 MB, free: 5.938 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.28, allocations: 307.6 kB / 340.2 MB, free: 5.637 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006435/0.2864, allocations: 3.318 MB / 343.5 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004186/0.2907, allocations: 2.878 MB / 346.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003785/0.2945, allocations: 1.612 MB / 348 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.2979, allocations: 1.945 MB / 349.9 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005694/0.2985, allocations: 280 kB / 350.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.2996, allocations: 335.9 kB / 350.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.3007, allocations: 1.149 MB / 351.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.302, allocations: 0.9408 MB / 352.6 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006313/0.3084, allocations: 6.802 MB / 359.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3084, allocations: 0 / 359.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3084, allocations: 0 / 359.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002165/0.3086, allocations: 0 / 359.4 MB, free: 2.289 MB / 286.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.009894/0.3185, allocations: 4.296 MB / 363.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3186, allocations: 8.031 kB / 363.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.3204, allocations: 0.5411 MB / 364.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004808/0.3252, allocations: 2.522 MB / 366.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.3254, allocations: 295.8 kB / 367.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005951/0.326, allocations: 384 kB / 367.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.3362, allocations: 5.738 MB / 373.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/0.3363, allocations: 0 / 373.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/0.3366, allocations: 160 kB / 373.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.3368, allocations: 212 kB / 373.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008343/0.3452, allocations: 4.989 MB / 378.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/0.3742, allocations: 16.52 MB / 395.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/0.3813, allocations: 6.801 MB / 401.9 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.3816, allocations: 143 kB / 402 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.3817, allocations: 64.56 kB / 402.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=249): time 4.188e-06/0.3817, allocations: 0 / 402.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=256): time 0.02089/0.4026, allocations: 10.78 MB / 412.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.4027, allocations: 81.36 kB / 412.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/0.4071, allocations: 2.624 MB / 415.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.4073, allocations: 69.7 kB / 415.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.4087, allocations: 1.632 MB / 417.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008518/0.4095, allocations: 0.8433 MB / 418.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4097, allocations: 48 kB / 418.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.4099, allocations: 398.7 kB / 418.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002141/0.412, allocations: 1.355 MB / 419.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.4143, allocations: 1.654 MB / 421.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.4167, allocations: 1.589 MB / 423.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.4167, allocations: 4 kB / 423.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007702/0.4244, allocations: 4.484 MB / 427.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.4244, allocations: 8 kB / 427.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.4245, allocations: 7.938 kB / 427.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005423/0.4299, allocations: 1.655 MB / 429.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.4316, allocations: 387.5 kB / 429.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/0.4567, allocations: 23.89 MB / 453.6 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.4597, allocations: 95.92 kB / 453.6 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.4599, allocations: 83.98 kB / 453.7 MB, free: 0.957 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 (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.2754/0.7353, allocations: 1.392 MB / 455.1 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/0.7369, allocations: 295.1 kB / 455.4 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.7472, allocations: 4.418 MB / 459.8 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.831e-05/0.7473, allocations: 25.22 kB / 459.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/0.7473, allocations: 12.09 kB / 459.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/0.7473, allocations: 11.11 kB / 459.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.7637, allocations: 8.925 MB / 468.8 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.7638, allocations: 3.25 kB / 468.8 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.765, allocations: 296.9 kB / 469.1 MB, free: 102.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004906/0.77, allocations: 1.616 MB / 470.7 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002728/0.7703, allocations: 63.56 kB / 470.8 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/0.7905, allocations: 23.63 MB / 494.4 MB, free: 77.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.7906, allocations: 0.8125 kB / 494.4 MB, free: 77.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00853/0.7991, allocations: 6.19 MB / 0.4889 GB, free: 71.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/0.8013, allocations: 0.6855 MB / 0.4895 GB, free: 70.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004848/0.8018, allocations: 63.97 kB / 0.4896 GB, free: 70.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.8033, allocations: 134 kB / 0.4897 GB, free: 70.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005249/0.8038, allocations: 218 kB / 0.4899 GB, free: 70.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.8039, allocations: 64 kB / 0.49 GB, free: 70.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002529/0.8065, allocations: 1.829 MB / 0.4918 GB, free: 68.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8065, allocations: 8 kB / 0.4918 GB, free: 68.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004029/0.8105, allocations: 0.9531 MB / 0.4927 GB, free: 67.42 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 (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.0006994/0.8112, allocations: 212.5 kB / 0.4929 GB, free: 67.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006531/0.8178, allocations: 4.883 MB / 0.4977 GB, free: 62.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/0.8178, allocations: 4.062 kB / 0.4977 GB, free: 62.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004561/0.8224, allocations: 3.377 MB / 0.501 GB, free: 58.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/0.8272, allocations: 0.8954 MB / 0.5019 GB, free: 57.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/0.8451, allocations: 9.93 MB / 0.5116 GB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003092/0.8483, allocations: 3.243 MB / 0.5147 GB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002053/0.8504, allocations: 0.5752 MB / 0.5153 GB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.8509, allocations: 163.4 kB / 0.5154 GB, free: 43.83 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.8509, allocations: 4 kB / 0.5154 GB, free: 43.82 MB / 382.1 MB Notification: Performance of Templates: time 0.09106/0.9419, allocations: 56.85 MB / 0.571 GB, free: 2.887 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) Environment - environmentSimulation: