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.001826/0.001826, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002332/0.002332, allocations: 196.2 kB / 16.14 MB, free: 6.707 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.851/1.851, allocations: 205.1 MB / 222 MB, free: 4.777 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.001213/0.001213, allocations: 51.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3766, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01537/0.392, allocations: 10.57 MB / 335.3 MB, free: 9.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.4024, allocations: 3.233 MB / 338.5 MB, free: 6.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004144/0.4067, allocations: 63.62 kB / 338.6 MB, free: 6.238 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.41, allocations: 0.6098 MB / 339.2 MB, free: 5.625 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005226/0.4153, allocations: 1.057 MB / 340.2 MB, free: 4.562 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.4168, allocations: 439.6 kB / 340.7 MB, free: 4.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007593/0.4244, allocations: 5.982 MB / 346.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004675/0.4291, allocations: 3.364 MB / 350 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005593/0.4347, allocations: 2.002 MB / 352 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005516/0.4403, allocations: 2.638 MB / 354.6 MB, free: 6.031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.4414, allocations: 391.9 kB / 355 MB, free: 5.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.4432, allocations: 479.8 kB / 355.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.4446, allocations: 1.367 MB / 356.9 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003955/0.4486, allocations: 2.488 MB / 359.3 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009471/0.4581, allocations: 8.108 MB / 367.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.4582, allocations: 3.938 kB / 367.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4582, allocations: 0 / 367.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002571/0.4584, allocations: 0 / 367.5 MB, free: 9.172 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.0157/0.4741, allocations: 5.072 MB / 372.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.4742, allocations: 12.03 kB / 372.5 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.476, allocations: 0.542 MB / 373.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/0.4808, allocations: 2.596 MB / 375.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.481, allocations: 295.8 kB / 376 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006334/0.4817, allocations: 387.9 kB / 376.3 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.4931, allocations: 5.789 MB / 382.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.4932, allocations: 0 / 382.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00038/0.4935, allocations: 167.9 kB / 382.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002595/0.4938, allocations: 204 kB / 382.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00982/0.5036, allocations: 5.016 MB / 387.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/0.5347, allocations: 16.39 MB / 403.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008427/0.5432, allocations: 6.828 MB / 410.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/0.5473, allocations: 2.634 MB / 413.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/0.5477, allocations: 135.1 kB / 413.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.699e-05/0.5478, allocations: 60.56 kB / 413.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 7.384e-06/0.5478, allocations: 4 kB / 413.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02089/0.5687, allocations: 10.7 MB / 424.3 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.5688, allocations: 77.42 kB / 424.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.573, allocations: 2.636 MB / 427 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.5733, allocations: 69.7 kB / 427 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.5746, allocations: 1.644 MB / 428.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008853/0.5755, allocations: 0.8394 MB / 429.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006622/0.5761, allocations: 408.6 kB / 429.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5762, allocations: 305.1 kB / 430.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.5783, allocations: 1.344 MB / 431.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.5805, allocations: 1.65 MB / 433.2 MB, free: 5.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/0.5846, allocations: 3.083 MB / 436.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5846, allocations: 0 / 436.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007491/0.5921, allocations: 4.453 MB / 440.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.5922, allocations: 8 kB / 440.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.5922, allocations: 8 kB / 440.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005345/0.5976, allocations: 1.647 MB / 442.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.5991, allocations: 387.5 kB / 442.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.243/0.8421, allocations: 23.47 MB / 466.3 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.8446, allocations: 98.83 kB / 466.4 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.8449, allocations: 72.88 kB / 466.4 MB, free: 100.4 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.002898/0.8478, allocations: 1.401 MB / 467.8 MB, free: 99.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008666/0.8487, allocations: 297.6 kB / 468.1 MB, free: 99.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006923/0.8556, allocations: 4.377 MB / 472.5 MB, free: 97.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.8557, allocations: 29.12 kB / 472.5 MB, free: 97.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.8557, allocations: 7.438 kB / 472.5 MB, free: 97.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.8557, allocations: 13.45 kB / 472.5 MB, free: 97.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.8685, allocations: 8.878 MB / 481.4 MB, free: 91.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.8686, allocations: 4 kB / 481.4 MB, free: 91.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.8696, allocations: 290.5 kB / 481.7 MB, free: 91.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004527/0.8742, allocations: 1.621 MB / 483.3 MB, free: 89.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.8744, allocations: 55.98 kB / 483.4 MB, free: 89.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/0.8932, allocations: 23.24 MB / 0.4948 GB, free: 65.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8932, allocations: 0 / 0.4948 GB, free: 65.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009556/0.9028, allocations: 6.088 MB / 0.5007 GB, free: 59.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/0.905, allocations: 0.6693 MB / 0.5014 GB, free: 58.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/0.9055, allocations: 64.05 kB / 0.5014 GB, free: 58.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.9069, allocations: 123.9 kB / 0.5015 GB, free: 58.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007589/0.9076, allocations: 213.3 kB / 0.5017 GB, free: 58.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.9078, allocations: 67.98 kB / 0.5018 GB, free: 58.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002794/0.9106, allocations: 1.849 MB / 0.5036 GB, free: 56.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9106, allocations: 0 / 0.5036 GB, free: 56.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004426/0.915, allocations: 0.9609 MB / 0.5045 GB, free: 55.41 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.000732/0.9158, allocations: 248.5 kB / 0.5048 GB, free: 55.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006391/0.9222, allocations: 4.845 MB / 0.5095 GB, free: 50.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.9222, allocations: 0 / 0.5095 GB, free: 50.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004179/0.9264, allocations: 3.338 MB / 0.5128 GB, free: 46.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/0.9309, allocations: 0.9135 MB / 0.5137 GB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.9463, allocations: 10.25 MB / 0.5237 GB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/0.9491, allocations: 3.173 MB / 0.5268 GB, free: 32.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00212/0.9512, allocations: 0.5674 MB / 0.5273 GB, free: 31.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.9517, allocations: 171.4 kB / 0.5275 GB, free: 31.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.585e-06/0.9517, allocations: 0 / 0.5275 GB, free: 31.61 MB / 382.1 MB Notification: Performance of Templates: time 0.1035/1.055, allocations: 59.26 MB / 0.5854 GB, free: 4.258 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)