Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 113.9 kB / 17.07 MB, free: 5.988 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.00161/0.00161, allocations: 196 kB / 18.01 MB, free: 5.066 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.754/1.754, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001282/0.001282, allocations: 47.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1484, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006644/0.1551, allocations: 3.658 MB / 378.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.4013/0.5565, allocations: 0.9597 MB / 379.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.5578, allocations: 6.75 kB / 379.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.5586, allocations: 82.14 kB / 379.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.5599, allocations: 134.6 kB / 379.3 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.5608, allocations: 165.7 kB / 379.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.5624, allocations: 0.6063 MB / 380.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008208/0.5632, allocations: 216.7 kB / 380.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008702/0.5641, allocations: 226.7 kB / 380.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.5649, allocations: 245 kB / 380.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.565, allocations: 55 kB / 380.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.5652, allocations: 55.62 kB / 380.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.5655, allocations: 121.7 kB / 381 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000627/0.5661, allocations: 261 kB / 381.3 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.5679, allocations: 0.627 MB / 381.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.5679, allocations: 0 / 381.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.5679, allocations: 0.5 kB / 381.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.5679, allocations: 1.141 kB / 381.9 MB, free: 9.379 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.003054/0.571, allocations: 0.7725 MB / 382.7 MB, free: 8.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.807e-05/0.5711, allocations: 10.06 kB / 382.7 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.5714, allocations: 57.02 kB / 382.7 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.5723, allocations: 362.9 kB / 383.1 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.5724, allocations: 37.08 kB / 383.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.5725, allocations: 43.77 kB / 383.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.574, allocations: 449.7 kB / 383.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.5741, allocations: 9.156 kB / 383.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.741e-05/0.5742, allocations: 20.73 kB / 383.6 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.5742, allocations: 11.12 kB / 383.6 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.5755, allocations: 315.8 kB / 383.9 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005535/0.581, allocations: 1.819 MB / 385.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.5827, allocations: 0.6094 MB / 386.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.5838, allocations: 275.8 kB / 386.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.5839, allocations: 4.891 kB / 386.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008698/0.5848, allocations: 275 kB / 386.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 4.018e-06/0.5848, allocations: 0 / 386.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.004786/0.5896, allocations: 0.8398 MB / 387.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.5898, allocations: 87.59 kB / 387.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.5907, allocations: 309.9 kB / 388.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.5908, allocations: 37.41 kB / 388.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.5911, allocations: 218.5 kB / 388.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.5914, allocations: 132.9 kB / 388.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.5916, allocations: 87.31 kB / 388.6 MB, free: 5.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5918, allocations: 349.5 kB / 388.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.5923, allocations: 119.2 kB / 389.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.593, allocations: 254.6 kB / 389.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5942, allocations: 377.1 kB / 389.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.5943, allocations: 2.188 kB / 389.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002087/0.5964, allocations: 0.5111 MB / 390.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.5964, allocations: 6.719 kB / 390.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.5965, allocations: 5.656 kB / 390.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.5975, allocations: 152.4 kB / 390.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.598, allocations: 63.78 kB / 390.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005684/0.6037, allocations: 2.548 MB / 393 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008834/0.6047, allocations: 44.72 kB / 393 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.6048, allocations: 19.38 kB / 393 MB, free: 2.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005998/0.6054, allocations: 175.9 kB / 393.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6056, allocations: 39.06 kB / 393.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.6058, allocations: 55.86 kB / 393.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.6058, allocations: 3.906 kB / 393.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.6059, allocations: 4.812 kB / 393.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.6059, allocations: 3.391 kB / 393.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/0.6091, allocations: 1.023 MB / 394.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.6091, allocations: 0 / 394.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.6095, allocations: 37.89 kB / 394.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008419/0.6103, allocations: 144.2 kB / 394.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/0.6104, allocations: 14.31 kB / 394.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006035/0.6165, allocations: 2.534 MB / 397.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6165, allocations: 0 / 397.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.6192, allocations: 0.7192 MB / 397.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.6197, allocations: 151.1 kB / 397.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.961e-05/0.6198, allocations: 7.438 kB / 397.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.6203, allocations: 21.23 kB / 397.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.6205, allocations: 36.41 kB / 398 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.6206, allocations: 14.25 kB / 398 MB, free: 14.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006027/0.6212, allocations: 218.1 kB / 398.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6212, allocations: 0 / 398.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001371/0.6226, allocations: 149.9 kB / 398.4 MB, free: 14.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002968/0.6229, allocations: 116.4 kB / 398.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.625, allocations: 0.5419 MB / 399 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6251, allocations: 1.906 kB / 399 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.6262, allocations: 372.5 kB / 399.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.6273, allocations: 83.47 kB / 399.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.6309, allocations: 0.8411 MB / 400.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.632, allocations: 0.8309 MB / 401.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004658/0.6325, allocations: 37.2 kB / 401.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.6327, allocations: 32.28 kB / 401.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.525e-06/0.6327, allocations: 0 / 401.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Templates: time 0.03289/0.6656, allocations: 6.985 MB / 408.2 MB, free: 9.969 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)