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.001601/0.001601, allocations: 113.2 kB / 17.06 MB, free: 5.977 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.001643/0.001642, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.862/1.862, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.001447/0.001447, allocations: 48.39 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.007022/0.1579, allocations: 3.662 MB / 378.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3306/0.4886, allocations: 0.9515 MB / 379.1 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009405/0.4896, allocations: 9.188 kB / 379.1 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.4902, allocations: 76.98 kB / 379.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009741/0.4912, allocations: 143.5 kB / 379.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000805/0.4921, allocations: 161.5 kB / 379.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.4933, allocations: 0.6056 MB / 380.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006714/0.494, allocations: 211.5 kB / 380.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.4946, allocations: 232.4 kB / 380.5 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007529/0.4954, allocations: 243.9 kB / 380.8 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.4956, allocations: 57.23 kB / 380.8 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.4958, allocations: 57.78 kB / 380.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.4961, allocations: 118.4 kB / 381 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000607/0.4967, allocations: 264.2 kB / 381.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.4982, allocations: 0.6265 MB / 381.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4983, allocations: 0.8125 kB / 381.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4983, allocations: 0 / 381.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.4983, allocations: 0 / 381.9 MB, free: 9.406 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.002354/0.5007, allocations: 0.7692 MB / 382.6 MB, free: 8.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/0.5008, allocations: 10.19 kB / 382.7 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.501, allocations: 59.11 kB / 382.7 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007884/0.5018, allocations: 368.2 kB / 383.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.5018, allocations: 34.28 kB / 383.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.502, allocations: 41.75 kB / 383.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.5034, allocations: 458 kB / 383.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.5035, allocations: 5 kB / 383.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.5035, allocations: 17.47 kB / 383.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.5036, allocations: 9 kB / 383.6 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.5047, allocations: 320.6 kB / 383.9 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.5087, allocations: 1.818 MB / 385.8 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.5101, allocations: 0.611 MB / 386.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.5113, allocations: 276.4 kB / 386.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.575e-05/0.5113, allocations: 6.016 kB / 386.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009123/0.5123, allocations: 265.2 kB / 386.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 4.488e-06/0.5123, allocations: 0 / 386.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.004724/0.517, allocations: 0.8466 MB / 387.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.5172, allocations: 83.77 kB / 387.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.5179, allocations: 313.9 kB / 388.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.5179, allocations: 37.8 kB / 388.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.5182, allocations: 219.2 kB / 388.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.5184, allocations: 128.5 kB / 388.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.5187, allocations: 87.86 kB / 388.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5188, allocations: 345.1 kB / 388.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.5193, allocations: 124.1 kB / 389.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.5198, allocations: 251.2 kB / 389.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/0.5208, allocations: 382.7 kB / 389.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.5208, allocations: 2.812 kB / 389.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001641/0.5224, allocations: 0.5113 MB / 390.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.5225, allocations: 7 kB / 390.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.5225, allocations: 10 kB / 390.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/0.5235, allocations: 145.7 kB / 390.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.524, allocations: 68.78 kB / 390.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.5296, allocations: 2.547 MB / 393 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.5304, allocations: 42.58 kB / 393 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/0.5304, allocations: 19.31 kB / 393 MB, free: 2.09 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.0005199/0.531, allocations: 177.1 kB / 393.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.5311, allocations: 43.36 kB / 393.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.5313, allocations: 48.52 kB / 393.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5313, allocations: 4.094 kB / 393.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.5314, allocations: 3.938 kB / 393.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.5314, allocations: 9.156 kB / 393.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.5341, allocations: 1.021 MB / 394.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.5342, allocations: 5.891 kB / 394.3 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.5345, allocations: 33.47 kB / 394.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000851/0.5354, allocations: 147.8 kB / 394.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.5355, allocations: 8.062 kB / 394.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.541, allocations: 2.538 MB / 397.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.5411, allocations: 2.047 kB / 397.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.5437, allocations: 0.7135 MB / 397.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.5442, allocations: 151 kB / 397.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.5443, allocations: 14.08 kB / 397.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.5447, allocations: 14.42 kB / 397.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.5449, allocations: 36.75 kB / 398 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.545, allocations: 14.98 kB / 398 MB, free: 14.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005543/0.5456, allocations: 221.3 kB / 398.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5456, allocations: 1.25 kB / 398.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001347/0.547, allocations: 143.5 kB / 398.4 MB, free: 14.41 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.0003148/0.5473, allocations: 120.9 kB / 398.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.5494, allocations: 0.5336 MB / 399 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.5494, allocations: 1.188 kB / 399 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.5505, allocations: 378.3 kB / 399.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.5514, allocations: 81.61 kB / 399.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.5549, allocations: 0.849 MB / 400.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008329/0.5557, allocations: 0.8267 MB / 401.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.556, allocations: 37.2 kB / 401.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5562, allocations: 31.58 kB / 401.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5562, allocations: 3.938 kB / 401.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of Templates: time 0.02624/0.5825, allocations: 7.21 MB / 408.4 MB, free: 9.809 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)