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.001094/0.001094, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.01138/0.01138, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.908/1.908, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005115/0.0005116, allocations: 19.98 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2777, allocations: 47.58 MB / 327 MB, free: 1.609 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01039/0.2881, allocations: 9.995 MB / 337 MB, free: 9.484 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008298/0.2964, allocations: 3.202 MB / 340.2 MB, free: 6.273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.2998, allocations: 71.62 kB / 340.3 MB, free: 6.203 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.3027, allocations: 0.598 MB / 340.9 MB, free: 5.602 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004885/0.3077, allocations: 1.061 MB / 342 MB, free: 4.535 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.3093, allocations: 439.6 kB / 342.4 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00816/0.3174, allocations: 5.978 MB / 348.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005246/0.3227, allocations: 3.341 MB / 351.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0054/0.3282, allocations: 1.763 MB / 353.5 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005553/0.3337, allocations: 2.342 MB / 355.8 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.3352, allocations: 284 kB / 356.1 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.3374, allocations: 375.8 kB / 356.5 MB, free: 5.926 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.3389, allocations: 1.207 MB / 357.7 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004004/0.3429, allocations: 2.314 MB / 360 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008701/0.3516, allocations: 7.868 MB / 367.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3517, allocations: 4 kB / 367.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3517, allocations: 0 / 367.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002817/0.352, allocations: 0 / 367.9 MB, free: 10.48 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.01145/0.3635, allocations: 4.257 MB / 372.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3635, allocations: 12.03 kB / 372.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.3664, allocations: 0.546 MB / 372.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005719/0.3721, allocations: 2.596 MB / 375.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.3724, allocations: 295.8 kB / 375.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.3738, allocations: 384 kB / 375.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.3884, allocations: 5.797 MB / 381.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.702e-05/0.3885, allocations: 0 / 381.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005445/0.389, allocations: 168 kB / 381.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/0.3893, allocations: 211.9 kB / 382.1 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.4011, allocations: 5.02 MB / 387.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03367/0.4348, allocations: 16.53 MB / 403.6 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008177/0.443, allocations: 6.82 MB / 410.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004405/0.4475, allocations: 2.65 MB / 413.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.4478, allocations: 135.1 kB / 413.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.03e-05/0.4479, allocations: 60.56 kB / 413.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.318e-06/0.4479, allocations: 4 kB / 413.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.0216/0.4695, allocations: 10.76 MB / 424.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.4696, allocations: 77.42 kB / 424.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004518/0.4741, allocations: 2.64 MB / 426.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004689/0.4746, allocations: 73.7 kB / 426.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.476, allocations: 1.636 MB / 428.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.477, allocations: 0.8394 MB / 429.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/0.4773, allocations: 198.5 kB / 429.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4774, allocations: 305.1 kB / 429.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.4797, allocations: 1.344 MB / 431.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/0.4822, allocations: 1.662 MB / 432.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005649/0.4879, allocations: 3.091 MB / 435.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.488, allocations: 4 kB / 435.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008379/0.4963, allocations: 4.465 MB / 440.4 MB, free: 196 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.4964, allocations: 11.91 kB / 440.4 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.4964, allocations: 4 kB / 440.4 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005776/0.5022, allocations: 1.655 MB / 442.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.5041, allocations: 391.5 kB / 442.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2847/0.7888, allocations: 23.5 MB / 465.9 MB, free: 101.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.792, allocations: 98.38 kB / 466 MB, free: 101.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005888/0.7926, allocations: 73.19 kB / 466.1 MB, free: 101.7 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.004204/0.7969, allocations: 1.417 MB / 467.5 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/0.7983, allocations: 304.8 kB / 467.8 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008399/0.8067, allocations: 4.384 MB / 472.2 MB, free: 99.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-05/0.8068, allocations: 29.19 kB / 472.2 MB, free: 99.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/0.8069, allocations: 7.75 kB / 472.2 MB, free: 99.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.815e-05/0.8069, allocations: 14.39 kB / 472.3 MB, free: 99.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.8229, allocations: 8.906 MB / 481.2 MB, free: 93.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.823, allocations: 7.812 kB / 481.2 MB, free: 93.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.8241, allocations: 290.1 kB / 481.5 MB, free: 93.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004803/0.8289, allocations: 1.627 MB / 483.1 MB, free: 91.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.8292, allocations: 59.92 kB / 483.1 MB, free: 91.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.8468, allocations: 23.27 MB / 0.4945 GB, free: 67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8469, allocations: 0 / 0.4945 GB, free: 67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007922/0.8548, allocations: 6.11 MB / 0.5005 GB, free: 60.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.8563, allocations: 0.6771 MB / 0.5012 GB, free: 60.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/0.8568, allocations: 55.98 kB / 0.5012 GB, free: 60.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.8582, allocations: 139.9 kB / 0.5013 GB, free: 60.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/0.8587, allocations: 217.2 kB / 0.5016 GB, free: 59.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.8589, allocations: 63.98 kB / 0.5016 GB, free: 59.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002384/0.8613, allocations: 1.852 MB / 0.5034 GB, free: 57.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.222e-06/0.8613, allocations: 0 / 0.5034 GB, free: 57.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004498/0.8658, allocations: 0.9579 MB / 0.5044 GB, free: 56.95 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.0007825/0.8666, allocations: 245 kB / 0.5046 GB, free: 56.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006179/0.8728, allocations: 4.861 MB / 0.5093 GB, free: 51.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8728, allocations: 0 / 0.5093 GB, free: 51.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004122/0.8769, allocations: 3.355 MB / 0.5126 GB, free: 48.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004697/0.8817, allocations: 0.8981 MB / 0.5135 GB, free: 47.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/0.8977, allocations: 10.38 MB / 0.5236 GB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.9002, allocations: 3.173 MB / 0.5267 GB, free: 33.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001876/0.9021, allocations: 0.5674 MB / 0.5273 GB, free: 33.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.9025, allocations: 167.4 kB / 0.5274 GB, free: 32.98 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9025, allocations: 0 / 0.5274 GB, free: 32.98 MB / 382.1 MB Notification: Performance of Templates: time 0.09367/0.9962, allocations: 58.33 MB / 0.5844 GB, free: 6.57 MB / 414.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)