Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.88 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2498, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.01273/0.2625, allocations: 6.273 MB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.2687, allocations: 2.231 MB / 418.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.2692, allocations: 19.94 kB / 418.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.272, allocations: 0.75 MB / 419.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.2741, allocations: 0.6128 MB / 419.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.2757, allocations: 0.5222 MB / 420.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.2775, allocations: 1.187 MB / 421.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.2792, allocations: 0.8405 MB / 422.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.28, allocations: 470.3 kB / 422.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009569/0.281, allocations: 0.5445 MB / 423.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.2812, allocations: 112 kB / 423.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008057/0.2821, allocations: 279.8 kB / 423.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.2824, allocations: 259.1 kB / 424 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007199/0.2831, allocations: 0.5519 MB / 424.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.2854, allocations: 1.483 MB / 426.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2854, allocations: 0 / 426.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2854, allocations: 0 / 426.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.2855, allocations: 0 / 426.1 MB, free: 1.375 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004895/0.2904, allocations: 1.448 MB / 427.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2904, allocations: 8.031 kB / 427.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/0.2957, allocations: 403.2 kB / 427.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.2972, allocations: 0.5849 MB / 428.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.2973, allocations: 74.38 kB / 428.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.2976, allocations: 104.4 kB / 428.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.3006, allocations: 1.02 MB / 429.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.239e-05/0.3007, allocations: 0 / 429.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.3008, allocations: 44 kB / 429.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.3009, allocations: 24 kB / 429.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.3039, allocations: 0.8511 MB / 430.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008638/0.3126, allocations: 3.601 MB / 434.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.3154, allocations: 1.896 MB / 436.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008726/0.3162, allocations: 463.4 kB / 436.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.3164, allocations: 178.8 kB / 436.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007936/0.3172, allocations: 496.9 kB / 437.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.604e-06/0.3172, allocations: 3.938 kB / 437.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004278/0.3215, allocations: 1.678 MB / 438.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3216, allocations: 200.9 kB / 439.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.3221, allocations: 474.1 kB / 439.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.3222, allocations: 49.7 kB / 439.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.3225, allocations: 423.5 kB / 440 MB, free: 2.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.3227, allocations: 272.1 kB / 440.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.3229, allocations: 154.6 kB / 440.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.323, allocations: 374.8 kB / 440.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.3237, allocations: 269.9 kB / 441.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.3244, allocations: 487.2 kB / 441.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.3256, allocations: 0.7474 MB / 442.3 MB, free: 228 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3257, allocations: 4 kB / 442.3 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001997/0.3277, allocations: 1.029 MB / 443.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3277, allocations: 8 kB / 443.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.3277, allocations: 11.94 kB / 443.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008984/0.3286, allocations: 276.7 kB / 443.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.3292, allocations: 139.8 kB / 443.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005771/0.335, allocations: 4.855 MB / 448.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.3357, allocations: 103.2 kB / 448.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.3357, allocations: 39.92 kB / 448.7 MB, free: 9.477 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003984/0.3361, allocations: 242.5 kB / 449 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.3363, allocations: 71.16 kB / 449 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.3383, allocations: 0.9709 MB / 450 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.3383, allocations: 7.984 kB / 450 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3383, allocations: 0 / 450 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3387, allocations: 208.1 kB / 450.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3388, allocations: 20 kB / 450.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.3392, allocations: 43.97 kB / 450.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.3394, allocations: 64.84 kB / 450.4 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002411/0.3418, allocations: 1.111 MB / 451.5 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001906/0.3437, allocations: 1.293 MB / 452.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005405/0.3443, allocations: 299.8 kB / 453.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003465/0.3446, allocations: 330.9 kB / 453.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of Backend: time 4.61e-07/0.3446, allocations: 0 / 453.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.3466, allocations: 1.037 MB / 454.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of SimCode: time 0.002567/0.3492, allocations: 2.095 MB / 456.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of Templates: time 0.02272/0.372, allocations: 13.87 MB / 470.4 MB, free: 3.793 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1)