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.001172/0.001177, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2321, allocations: 50.54 MB / 410 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005005/0.2372, allocations: 4.259 MB / 414.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.239, allocations: 1.025 MB / 415.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.2394, allocations: 11.94 kB / 415.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.2397, allocations: 99 kB / 415.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000542/0.2402, allocations: 194.3 kB / 415.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.2406, allocations: 191.7 kB / 415.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007354/0.2414, allocations: 0.7361 MB / 416.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.2417, allocations: 215.1 kB / 416.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.2421, allocations: 298.9 kB / 417 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.2425, allocations: 330.5 kB / 417.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-05/0.2426, allocations: 60 kB / 417.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2428, allocations: 64 kB / 417.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2429, allocations: 155.4 kB / 417.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.2433, allocations: 330.3 kB / 417.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.2439, allocations: 0.7162 MB / 418.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2439, allocations: 3.984 kB / 418.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2439, allocations: 0 / 418.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.2439, allocations: 4 kB / 418.6 MB, free: 9.008 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.001549/0.2455, allocations: 0.9119 MB / 419.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2456, allocations: 8.031 kB / 419.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003878/0.2459, allocations: 96.06 kB / 419.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.2465, allocations: 397.9 kB / 420 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.2465, allocations: 37.69 kB / 420.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/0.2466, allocations: 60.22 kB / 420.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/0.2476, allocations: 0.5454 MB / 420.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2476, allocations: 0 / 420.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.2477, allocations: 20 kB / 420.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.2477, allocations: 16 kB / 420.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008362/0.2485, allocations: 447.7 kB / 421.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.2512, allocations: 2.034 MB / 423.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/0.2521, allocations: 0.6376 MB / 423.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.2527, allocations: 402.2 kB / 424.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.2528, allocations: 4.562 kB / 424.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.2528, allocations: 47.12 kB / 424.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.775e-06/0.2528, allocations: 0 / 424.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004466/0.2573, allocations: 2.028 MB / 426.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.2574, allocations: 59.97 kB / 426.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.2577, allocations: 369.7 kB / 426.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.2578, allocations: 37.7 kB / 426.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.258, allocations: 241 kB / 427 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.2581, allocations: 197.1 kB / 427.2 MB, free: 60 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.2583, allocations: 90.33 kB / 427.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2584, allocations: 354.8 kB / 427.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.2588, allocations: 169 kB / 427.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.2592, allocations: 211.8 kB / 428 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.2599, allocations: 380.9 kB / 428.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2599, allocations: 0 / 428.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001212/0.2611, allocations: 0.6656 MB / 429 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2612, allocations: 8 kB / 429 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2612, allocations: 3.938 kB / 429 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007256/0.2619, allocations: 271 kB / 429.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.2622, allocations: 59.97 kB / 429.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006755/0.269, allocations: 7.49 MB / 436.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.2693, allocations: 23.92 kB / 436.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.2694, allocations: 16 kB / 436.9 MB, free: 5.734 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.00023/0.2696, allocations: 177.8 kB / 437 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.2697, allocations: 47.44 kB / 437.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.2698, allocations: 69.02 kB / 437.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2699, allocations: 0 / 437.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2699, allocations: 3.984 kB / 437.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.2701, allocations: 164.3 kB / 437.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.2701, allocations: 12 kB / 437.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2704, allocations: 15.98 kB / 437.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.2705, allocations: 52.48 kB / 437.4 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002096/0.2726, allocations: 0.8259 MB / 438.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001313/0.274, allocations: 0.9031 MB / 439.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003475/0.2743, allocations: 200.3 kB / 439.3 MB, free: 3.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.2746, allocations: 259.2 kB / 439.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Backend: time 7.51e-07/0.2746, allocations: 0 / 439.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.2762, allocations: 0.9674 MB / 440.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of SimCode: time 0.002009/0.2783, allocations: 1.79 MB / 442.3 MB, free: 108 kB / 350.1 MB Notification: Performance of Templates: time 0.01468/0.293, allocations: 8.548 MB / 450.9 MB, free: 7.629 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)