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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001058/0.001058, allocations: 179.5 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.139/1.139, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001565/0.001565, allocations: 106.6 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07519/0.07549, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2242/0.2997, allocations: 76.29 MB / 431.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.3, allocations: 80.52 kB / 431.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.3154, allocations: 7.054 MB / 438.5 MB, free: 7.426 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3154, allocations: 4 kB / 438.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.3155, allocations: 12 kB / 438.5 MB, free: 7.41 MB / 314.7 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.0009054/0.3164, allocations: 0.6957 MB / 439.2 MB, free: 6.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3164, allocations: 8.031 kB / 439.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.802e-05/0.3165, allocations: 59.3 kB / 439.3 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.3169, allocations: 347.5 kB / 439.6 MB, free: 6.301 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3169, allocations: 39.8 kB / 439.6 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.317, allocations: 46.62 kB / 439.7 MB, free: 6.246 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.3176, allocations: 444.3 kB / 440.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3176, allocations: 0 / 440.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.3176, allocations: 14.5 kB / 440.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3177, allocations: 12 kB / 440.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.3181, allocations: 322.1 kB / 440.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.32, allocations: 1.859 MB / 442.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.3206, allocations: 0.6041 MB / 442.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.3206, allocations: 12.27 kB / 442.9 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.321, allocations: 261.5 kB / 443.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.321, allocations: 0 / 443.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001922/0.3229, allocations: 0.8418 MB / 444 MB, free: 2.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.323, allocations: 85.09 kB / 444.1 MB, free: 2.566 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3232, allocations: 284.2 kB / 444.4 MB, free: 2.332 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3232, allocations: 36.02 kB / 444.4 MB, free: 2.297 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.3233, allocations: 209.9 kB / 444.6 MB, free: 2.133 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.3234, allocations: 134.7 kB / 444.8 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.3234, allocations: 6.812 kB / 444.8 MB, free: 2.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.3235, allocations: 351.5 kB / 445.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3237, allocations: 121.5 kB / 445.2 MB, free: 1.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.3239, allocations: 244.6 kB / 445.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.3241, allocations: 141.8 kB / 445.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3241, allocations: 0 / 445.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006583/0.3248, allocations: 0.5141 MB / 446.1 MB, free: 0.707 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3248, allocations: 5.25 kB / 446.1 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3248, allocations: 11.92 kB / 446.2 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.3252, allocations: 144.7 kB / 446.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.3254, allocations: 59.91 kB / 446.4 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.328, allocations: 2.347 MB / 448.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3282, allocations: 47.53 kB / 448.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.3282, allocations: 24.03 kB / 448.8 MB, free: 13.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.3284, allocations: 165.8 kB / 448.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.3285, allocations: 39.53 kB / 449 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.329e-05/0.3286, allocations: 52.25 kB / 449 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3286, allocations: 7.938 kB / 449 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3286, allocations: 0 / 449 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3286, allocations: 3.984 kB / 449 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.33, allocations: 1.004 MB / 450 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.33, allocations: 0 / 450 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.3302, allocations: 35.97 kB / 450.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003685/0.3306, allocations: 137.6 kB / 450.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.3306, allocations: 15.98 kB / 450.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.3331, allocations: 2.339 MB / 452.6 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3331, allocations: 0 / 452.6 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3341, allocations: 0.7002 MB / 453.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.3343, allocations: 148.6 kB / 453.4 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.3344, allocations: 11.95 kB / 453.4 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3346, allocations: 27.97 kB / 453.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.3347, allocations: 31.95 kB / 453.5 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.3347, allocations: 23.23 kB / 453.5 MB, free: 8.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.3349, allocations: 215.1 kB / 453.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3349, allocations: 0 / 453.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005451/0.3355, allocations: 143.7 kB / 453.8 MB, free: 8.621 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.3357, allocations: 119.9 kB / 454 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009463/0.3366, allocations: 0.5311 MB / 454.5 MB, free: 7.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3366, allocations: 0 / 454.5 MB, free: 7.953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.3372, allocations: 389.2 kB / 454.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.3376, allocations: 67.75 kB / 454.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.3392, allocations: 1.016 MB / 456 MB, free: 6.461 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3396, allocations: 0.836 MB / 456.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3397, allocations: 39.25 kB / 456.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.3398, allocations: 27.44 kB / 456.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3398, allocations: 3.938 kB / 456.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of Templates: time 0.01042/0.3502, allocations: 6.129 MB / 463 MB, free: 15.47 MB / 346.7 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)