Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3336, allocations: 50.54 MB / 410 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005098/0.3387, allocations: 4.273 MB / 414.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3406, allocations: 1.021 MB / 415.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.3409, allocations: 8 kB / 415.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.3411, allocations: 99 kB / 415.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.3416, allocations: 194.2 kB / 415.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.342, allocations: 183.7 kB / 415.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006828/0.3427, allocations: 0.7361 MB / 416.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.343, allocations: 223 kB / 416.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.3434, allocations: 298.8 kB / 417 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.3438, allocations: 326.5 kB / 417.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.3439, allocations: 68 kB / 417.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.344, allocations: 60 kB / 417.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.3442, allocations: 147.5 kB / 417.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.3445, allocations: 330.3 kB / 417.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.3451, allocations: 0.7162 MB / 418.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3452, allocations: 0 / 418.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3452, allocations: 0 / 418.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3452, allocations: 0 / 418.6 MB, free: 9.043 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001541/0.3467, allocations: 0.9119 MB / 419.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3468, allocations: 16.03 kB / 419.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.3471, allocations: 96.06 kB / 419.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.3477, allocations: 401.9 kB / 420 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.3477, allocations: 37.69 kB / 420.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.943e-05/0.3478, allocations: 56.22 kB / 420.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/0.3487, allocations: 0.5454 MB / 420.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3487, allocations: 4 kB / 420.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.3488, allocations: 20 kB / 420.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.3488, allocations: 12 kB / 420.7 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008051/0.3496, allocations: 455.6 kB / 421.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.3522, allocations: 2.03 MB / 423.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008526/0.3531, allocations: 0.6376 MB / 423.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.3537, allocations: 398.2 kB / 424.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.3537, allocations: 8.547 kB / 424.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3538, allocations: 43.11 kB / 424.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.214e-06/0.3538, allocations: 0 / 424.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004308/0.3581, allocations: 2.032 MB / 426.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3581, allocations: 55.97 kB / 426.3 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.3585, allocations: 373.7 kB / 426.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3586, allocations: 33.7 kB / 426.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3587, allocations: 237.1 kB / 427 MB, free: 292 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3589, allocations: 193.1 kB / 427.1 MB, free: 96 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.359, allocations: 94.33 kB / 427.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3591, allocations: 358.8 kB / 427.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.3595, allocations: 169 kB / 427.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.3598, allocations: 207.8 kB / 428 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.3605, allocations: 384.8 kB / 428.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3605, allocations: 0 / 428.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001222/0.3618, allocations: 0.6695 MB / 429 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3618, allocations: 7.938 kB / 429 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3618, allocations: 11.92 kB / 429 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007111/0.3625, allocations: 259.2 kB / 429.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.3628, allocations: 67.89 kB / 429.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006573/0.3694, allocations: 7.486 MB / 436.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.3697, allocations: 23.95 kB / 436.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.3698, allocations: 12 kB / 436.9 MB, free: 5.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.37, allocations: 177.8 kB / 437 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3702, allocations: 51.44 kB / 437.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.3703, allocations: 65.09 kB / 437.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3703, allocations: 3.984 kB / 437.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3703, allocations: 0 / 437.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.3705, allocations: 164.3 kB / 437.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.3706, allocations: 12 kB / 437.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.3709, allocations: 19.98 kB / 437.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.371, allocations: 44.48 kB / 437.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001988/0.373, allocations: 0.8259 MB / 438.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001369/0.3744, allocations: 0.9031 MB / 439.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003544/0.3747, allocations: 196.4 kB / 439.3 MB, free: 3.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.375, allocations: 263.2 kB / 439.6 MB, free: 3 MB / 350.1 MB Notification: Performance of Backend: time 1.042e-06/0.375, allocations: 0 / 439.6 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.3769, allocations: 0.9673 MB / 440.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of SimCode: time 0.002292/0.3792, allocations: 1.788 MB / 442.3 MB, free: 136 kB / 350.1 MB Notification: Performance of Templates: time 0.01819/0.3974, allocations: 8.549 MB / 450.9 MB, free: 7.66 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)