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.001605/0.001605, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.763/1.763, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.001497/0.001497, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3383, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.012/0.3503, allocations: 10.65 MB / 336 MB, free: 9.215 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006931/0.3573, allocations: 3.257 MB / 339.2 MB, free: 5.949 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008995/0.3582, allocations: 75.62 kB / 339.3 MB, free: 5.875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.3596, allocations: 0.7059 MB / 340 MB, free: 5.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.3617, allocations: 1.142 MB / 341.1 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.3625, allocations: 499.4 kB / 341.6 MB, free: 3.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.367, allocations: 5.245 MB / 346.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/0.3714, allocations: 4.12 MB / 351 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/0.3757, allocations: 2.369 MB / 353.4 MB, free: 7.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0033/0.379, allocations: 2.759 MB / 356.1 MB, free: 4.922 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007798/0.3798, allocations: 0.625 MB / 356.8 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.3811, allocations: 0.7069 MB / 357.5 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.3825, allocations: 1.621 MB / 359.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.3862, allocations: 2.77 MB / 361.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008089/0.3943, allocations: 8.331 MB / 370.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3943, allocations: 0 / 370.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3943, allocations: 0 / 370.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002305/0.3945, allocations: 0 / 370.2 MB, free: 6.828 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.01173/0.4063, allocations: 5.087 MB / 375.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4063, allocations: 8.031 kB / 375.3 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.4076, allocations: 0.5498 MB / 375.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/0.4115, allocations: 2.596 MB / 378.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.4117, allocations: 295.8 kB / 378.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005065/0.4122, allocations: 387.9 kB / 379.1 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009114/0.4213, allocations: 5.793 MB / 384.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.4214, allocations: 0 / 384.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/0.4218, allocations: 164 kB / 385 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/0.422, allocations: 204 kB / 385.2 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008136/0.4301, allocations: 5.012 MB / 390.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/0.4569, allocations: 16.39 MB / 406.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006385/0.4634, allocations: 6.836 MB / 413.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/0.467, allocations: 2.634 MB / 416.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.4674, allocations: 139.1 kB / 416.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.787e-05/0.4675, allocations: 60.56 kB / 416.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.298e-06/0.4675, allocations: 0 / 416.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02369/0.4912, allocations: 10.7 MB / 427 MB, free: 12.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.4913, allocations: 77.42 kB / 427.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005224/0.4966, allocations: 2.643 MB / 429.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006116/0.4972, allocations: 65.7 kB / 429.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.4986, allocations: 1.64 MB / 431.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00131/0.4999, allocations: 0.8355 MB / 432.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008262/0.5007, allocations: 408.6 kB / 432.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5009, allocations: 321 kB / 433 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.503, allocations: 1.332 MB / 434.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.5053, allocations: 1.643 MB / 435.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/0.5102, allocations: 3.091 MB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.5102, allocations: 3.938 kB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008327/0.5186, allocations: 4.453 MB / 443.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.5186, allocations: 4 kB / 443.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.5186, allocations: 11.94 kB / 443.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004542/0.5232, allocations: 1.538 MB / 445.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.5247, allocations: 395.5 kB / 445.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2339/0.7586, allocations: 25.73 MB / 471.2 MB, free: 97.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.7606, allocations: 100.4 kB / 471.3 MB, free: 96.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.7607, allocations: 74.56 kB / 471.3 MB, free: 96.97 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.001995/0.7627, allocations: 1.413 MB / 472.8 MB, free: 96.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004783/0.7632, allocations: 291.2 kB / 473 MB, free: 96.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005984/0.7692, allocations: 4.381 MB / 477.4 MB, free: 94.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.7692, allocations: 30.41 kB / 477.4 MB, free: 94.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.7693, allocations: 7.938 kB / 477.5 MB, free: 94.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.7693, allocations: 15.42 kB / 477.5 MB, free: 94.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.7804, allocations: 8.877 MB / 486.3 MB, free: 87.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7805, allocations: 0 / 486.3 MB, free: 87.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7815, allocations: 295.6 kB / 486.6 MB, free: 86.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/0.7851, allocations: 1.509 MB / 488.1 MB, free: 85.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.7853, allocations: 63.92 kB / 488.2 MB, free: 85.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/0.8034, allocations: 25.5 MB / 0.5017 GB, free: 58.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8035, allocations: 0 / 0.5017 GB, free: 58.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007531/0.811, allocations: 6.093 MB / 0.5076 GB, free: 52.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.8123, allocations: 0.6814 MB / 0.5083 GB, free: 51.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/0.8127, allocations: 59.92 kB / 0.5083 GB, free: 51.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.814, allocations: 119.9 kB / 0.5085 GB, free: 51.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004676/0.8145, allocations: 213.7 kB / 0.5087 GB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.8146, allocations: 67.98 kB / 0.5087 GB, free: 51.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002191/0.8168, allocations: 1.852 MB / 0.5105 GB, free: 49.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8168, allocations: 0 / 0.5105 GB, free: 49.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003035/0.8198, allocations: 0.9564 MB / 0.5115 GB, free: 48.59 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.0005164/0.8204, allocations: 238 kB / 0.5117 GB, free: 48.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009651/0.83, allocations: 6.965 MB / 0.5185 GB, free: 41.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8301, allocations: 3.062 kB / 0.5185 GB, free: 41.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003614/0.8337, allocations: 3.372 MB / 0.5218 GB, free: 37.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/0.8372, allocations: 0.9595 MB / 0.5227 GB, free: 36.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.8494, allocations: 8.514 MB / 0.531 GB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.8519, allocations: 3.173 MB / 0.5341 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00173/0.8536, allocations: 0.5752 MB / 0.5347 GB, free: 24.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.854, allocations: 167.4 kB / 0.5349 GB, free: 24.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8541, allocations: 0 / 0.5349 GB, free: 24.36 MB / 382.1 MB Notification: Performance of Templates: time 0.09318/0.9472, allocations: 62.07 MB / 0.5955 GB, free: 10.2 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (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)