Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0125/0.0125, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001444/0.001444, allocations: 196.3 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001251/0.001251, allocations: 47.94 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 46.62 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005363/0.1342, allocations: 3.658 MB / 376.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2989/0.4332, allocations: 0.9522 MB / 377.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007399/0.434, allocations: 12.94 kB / 377.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.4344, allocations: 79.78 kB / 377.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.4349, allocations: 143 kB / 378 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.4354, allocations: 162.3 kB / 378.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007198/0.4361, allocations: 0.6078 MB / 378.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.4366, allocations: 212.5 kB / 379 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.437, allocations: 231.9 kB / 379.2 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.4375, allocations: 246.8 kB / 379.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.4376, allocations: 55.88 kB / 379.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.4377, allocations: 54.5 kB / 379.6 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.4379, allocations: 113 kB / 379.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.4383, allocations: 271.5 kB / 379.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.4394, allocations: 0.6202 MB / 380.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4394, allocations: 0.5312 kB / 380.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4394, allocations: 0.9844 kB / 380.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.4394, allocations: 4.031 kB / 380.6 MB, free: 9.352 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.001679/0.4411, allocations: 0.7677 MB / 381.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4412, allocations: 13.64 kB / 381.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.4413, allocations: 60.56 kB / 381.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.4418, allocations: 361.4 kB / 381.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.4419, allocations: 32.75 kB / 381.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.442, allocations: 44.34 kB / 381.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008252/0.4428, allocations: 455.7 kB / 382.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.4428, allocations: 6.047 kB / 382.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.4429, allocations: 15.67 kB / 382.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.4429, allocations: 11.03 kB / 382.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.4435, allocations: 319.7 kB / 382.6 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.446, allocations: 1.818 MB / 384.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.4467, allocations: 0.6169 MB / 385.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.4473, allocations: 273.3 kB / 385.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.4474, allocations: 5.781 kB / 385.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.4479, allocations: 266.9 kB / 385.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.4479, allocations: 3.938 kB / 385.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002414/0.4503, allocations: 0.84 MB / 386.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.4504, allocations: 84.31 kB / 386.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.4509, allocations: 313.4 kB / 386.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.4509, allocations: 37.62 kB / 386.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.4511, allocations: 217.9 kB / 387.1 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.4513, allocations: 128.8 kB / 387.2 MB, free: 5.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.4515, allocations: 90.98 kB / 387.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4517, allocations: 346.8 kB / 387.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.452, allocations: 118.9 kB / 387.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.4524, allocations: 254.8 kB / 388 MB, free: 4.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.4531, allocations: 383.5 kB / 388.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.4531, allocations: 3.906 kB / 388.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001144/0.4543, allocations: 0.506 MB / 388.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.4543, allocations: 10.72 kB / 388.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.4544, allocations: 4.078 kB / 388.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.455, allocations: 155.4 kB / 389 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.4553, allocations: 62.88 kB / 389.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.4588, allocations: 2.544 MB / 391.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.4592, allocations: 42.69 kB / 391.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.4593, allocations: 15.75 kB / 391.7 MB, free: 2.066 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.000249/0.4595, allocations: 180.9 kB / 391.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.4596, allocations: 39.27 kB / 391.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.755e-05/0.4597, allocations: 47.72 kB / 392 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4597, allocations: 4.125 kB / 392 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4597, allocations: 9.125 kB / 392 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4597, allocations: 3.047 kB / 392 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.4614, allocations: 1.024 MB / 393 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4614, allocations: 0 / 393 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.4616, allocations: 39.08 kB / 393 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/0.462, allocations: 147.8 kB / 393.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.4621, allocations: 8.031 kB / 393.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.4657, allocations: 2.537 MB / 395.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4657, allocations: 0 / 395.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4674, allocations: 0.7225 MB / 396.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.4676, allocations: 149.9 kB / 396.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.4677, allocations: 12.34 kB / 396.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4679, allocations: 17.06 kB / 396.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.4681, allocations: 35.81 kB / 396.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.4681, allocations: 14.66 kB / 396.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.4684, allocations: 223 kB / 396.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4684, allocations: 0 / 396.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008094/0.4693, allocations: 143.5 kB / 397 MB, free: 14.38 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.000218/0.4695, allocations: 117.2 kB / 397.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4707, allocations: 0.5347 MB / 397.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4708, allocations: 1.5 kB / 397.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006675/0.4714, allocations: 384.8 kB / 398.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.472, allocations: 82.25 kB / 398.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.4743, allocations: 0.8462 MB / 399 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009074/0.4752, allocations: 0.831 MB / 399.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002422/0.4755, allocations: 36.14 kB / 399.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.4756, allocations: 32.05 kB / 399.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4756, allocations: 0 / 399.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Templates: time 0.02577/0.5014, allocations: 6.989 MB / 406.9 MB, free: 9.945 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)