Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001851/0.001851, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.543/1.543, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001553/0.001553, allocations: 114.7 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.596e-05, allocations: 0 / 298.1 MB, free: 8.211 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.08933, allocations: 44.49 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2793/0.3686, allocations: 81.98 MB / 424.6 MB, free: 13.95 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.3689, allocations: 88.31 kB / 424.7 MB, free: 13.89 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.3929, allocations: 10.5 MB / 435.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3929, allocations: 0 / 435.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.934e-05/0.393, allocations: 16 kB / 435.2 MB, free: 5.266 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001268/0.3943, allocations: 0.8612 MB / 436 MB, free: 4.402 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3943, allocations: 13.16 kB / 436 MB, free: 4.391 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3944, allocations: 79.06 kB / 436.1 MB, free: 4.312 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.395, allocations: 495 kB / 436.6 MB, free: 3.875 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.3951, allocations: 20 kB / 436.6 MB, free: 3.855 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.3951, allocations: 43.44 kB / 436.7 MB, free: 3.816 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006338/0.3958, allocations: 446.4 kB / 437.1 MB, free: 3.555 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/0.3966, allocations: 0.5636 MB / 437.7 MB, free: 3.121 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3966, allocations: 4 kB / 437.7 MB, free: 3.117 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.3966, allocations: 0 / 437.7 MB, free: 3.117 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3967, allocations: 16 kB / 437.7 MB, free: 3.102 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.3995, allocations: 2.456 MB / 440.1 MB, free: 1.066 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/0.4004, allocations: 0.5359 MB / 440.7 MB, free: 0.7188 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.4007, allocations: 243 kB / 440.9 MB, free: 0.5664 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.4007, allocations: 4.438 kB / 440.9 MB, free: 0.5586 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.4012, allocations: 314.9 kB / 441.2 MB, free: 316 kB / 315.1 MB Notification: Performance of pre-optimization done (n=55): time 2.004e-06/0.4012, allocations: 0 / 441.2 MB, free: 316 kB / 315.1 MB Notification: Performance of matching and sorting (n=55): time 0.0008348/0.402, allocations: 477.5 kB / 441.7 MB, free: 15.96 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.4021, allocations: 118.6 kB / 441.8 MB, free: 15.82 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.4026, allocations: 372.1 kB / 442.2 MB, free: 15.54 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.4026, allocations: 31.27 kB / 442.2 MB, free: 15.5 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.4028, allocations: 305.8 kB / 442.5 MB, free: 15.27 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.403, allocations: 159.2 kB / 442.7 MB, free: 15.14 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.403, allocations: 0 / 442.7 MB, free: 15.14 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4032, allocations: 360.3 kB / 443 MB, free: 14.8 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.4034, allocations: 159 kB / 443.2 MB, free: 14.71 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.4038, allocations: 312.5 kB / 443.5 MB, free: 14.43 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.4042, allocations: 180.1 kB / 443.7 MB, free: 14.31 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.4042, allocations: 4 kB / 443.7 MB, free: 14.3 MB / 331.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008892/0.4051, allocations: 0.5743 MB / 444.2 MB, free: 13.87 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005782/0.4057, allocations: 1.572 MB / 445.8 MB, free: 12.21 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4057, allocations: 7.984 kB / 445.8 MB, free: 12.2 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/0.4061, allocations: 149.1 kB / 446 MB, free: 12.09 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.4064, allocations: 82.64 kB / 446 MB, free: 12.02 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.4089, allocations: 2.259 MB / 448.3 MB, free: 10.07 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.4094, allocations: 71.5 kB / 448.4 MB, free: 10 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.4094, allocations: 19.81 kB / 448.4 MB, free: 9.988 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.4094, allocations: 8 kB / 448.4 MB, free: 9.98 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007384/0.4102, allocations: 491.2 kB / 448.9 MB, free: 9.641 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4102, allocations: 7.938 kB / 448.9 MB, free: 9.633 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.4105, allocations: 147 kB / 449 MB, free: 9.527 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.4108, allocations: 79.22 kB / 449.1 MB, free: 9.453 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.4131, allocations: 2.26 MB / 451.4 MB, free: 7.516 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.4135, allocations: 59.61 kB / 451.4 MB, free: 7.457 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.4136, allocations: 23.75 kB / 451.4 MB, free: 7.441 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0001858/0.4138, allocations: 131.9 kB / 451.6 MB, free: 7.309 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.762e-05/0.4139, allocations: 54.91 kB / 451.6 MB, free: 7.258 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.414, allocations: 55.69 kB / 451.7 MB, free: 7.227 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.414, allocations: 8 kB / 451.7 MB, free: 7.219 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.414, allocations: 0 / 451.7 MB, free: 7.219 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4141, allocations: 3.984 kB / 451.7 MB, free: 7.215 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.4156, allocations: 1.17 MB / 452.9 MB, free: 6.328 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4156, allocations: 0 / 452.9 MB, free: 6.328 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.4158, allocations: 47.59 kB / 452.9 MB, free: 6.285 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003287/0.4162, allocations: 133.2 kB / 453 MB, free: 6.191 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.4162, allocations: 7.953 kB / 453 MB, free: 6.184 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.4185, allocations: 2.24 MB / 455.3 MB, free: 4.25 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4185, allocations: 0 / 455.3 MB, free: 4.25 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4195, allocations: 0.817 MB / 456.1 MB, free: 3.664 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.4197, allocations: 177.9 kB / 456.3 MB, free: 3.496 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.4198, allocations: 2.875 kB / 456.3 MB, free: 3.496 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.4201, allocations: 31.97 kB / 456.3 MB, free: 3.465 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4203, allocations: 63.34 kB / 456.4 MB, free: 3.41 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.4203, allocations: 15.12 kB / 456.4 MB, free: 3.398 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.4206, allocations: 271.3 kB / 456.7 MB, free: 3.199 MB / 331.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4206, allocations: 0 / 456.7 MB, free: 3.199 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0009815/0.4216, allocations: 291.1 kB / 456.9 MB, free: 2.914 MB / 331.1 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: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001811/0.4218, allocations: 122 kB / 457.1 MB, free: 2.785 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.4233, allocations: 1.072 MB / 458.1 MB, free: 1.977 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4234, allocations: 0 / 458.1 MB, free: 1.977 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.4239, allocations: 411.2 kB / 458.5 MB, free: 1.664 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.4246, allocations: 86.02 kB / 458.6 MB, free: 1.602 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4262, allocations: 0.831 MB / 459.4 MB, free: 0.8516 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.4267, allocations: 0.9352 MB / 460.4 MB, free: 15.89 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0003637/0.4271, allocations: 100.5 kB / 460.5 MB, free: 15.79 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.4272, allocations: 31.44 kB / 460.5 MB, free: 15.77 MB / 347.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4272, allocations: 0 / 460.5 MB, free: 15.77 MB / 347.1 MB Notification: Performance of Templates: time 0.01588/0.4431, allocations: 9.299 MB / 469.8 MB, free: 6.523 MB / 347.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1)