Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 110.5 kB / 17.75 MB, free: 5.336 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.001077/0.001077, allocations: 197.2 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009919/0.0009919, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2138, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.006338/0.2202, allocations: 6.224 MB / 407.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002721/0.223, allocations: 2.126 MB / 409.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.2232, allocations: 19.94 kB / 409.8 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.2247, allocations: 0.7597 MB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.226, allocations: 0.7572 MB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.2268, allocations: 0.4933 MB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000921/0.2277, allocations: 1.168 MB / 413 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009637/0.2287, allocations: 0.8366 MB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003959/0.2291, allocations: 462.3 kB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/0.2296, allocations: 0.5367 MB / 414.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2298, allocations: 112 kB / 414.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.2302, allocations: 275.8 kB / 415.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.2304, allocations: 247.1 kB / 415.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.2308, allocations: 0.5403 MB / 416 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.232, allocations: 1.448 MB / 417.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.232, allocations: 4 kB / 417.4 MB, free: 8.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.232, allocations: 0 / 417.4 MB, free: 8.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.232, allocations: 0 / 417.4 MB, free: 8.816 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.002638/0.2347, allocations: 1.413 MB / 418.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2347, allocations: 8.031 kB / 418.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.2369, allocations: 379.3 kB / 419.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000762/0.2377, allocations: 0.5616 MB / 419.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.2377, allocations: 74.38 kB / 419.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2379, allocations: 100.4 kB / 419.9 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.2396, allocations: 1.02 MB / 420.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2396, allocations: 0 / 420.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.2397, allocations: 47.98 kB / 421 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.2397, allocations: 24 kB / 421 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.2413, allocations: 0.8549 MB / 421.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.2458, allocations: 3.499 MB / 425.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.2479, allocations: 1.907 MB / 427.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008792/0.2488, allocations: 467.4 kB / 427.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.744e-05/0.2489, allocations: 93.75 kB / 427.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008099/0.2497, allocations: 0.4891 MB / 428.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.054e-06/0.2497, allocations: 0 / 428.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.004237/0.254, allocations: 1.678 MB / 430 MB, free: 11.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.2541, allocations: 200.9 kB / 430.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.2545, allocations: 457.8 kB / 430.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.2546, allocations: 45.69 kB / 430.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.2548, allocations: 411.6 kB / 431.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.255, allocations: 272.1 kB / 431.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.2552, allocations: 154.6 kB / 431.5 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2554, allocations: 374.8 kB / 431.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.2559, allocations: 265.9 kB / 432.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.2566, allocations: 491.2 kB / 432.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.2577, allocations: 0.7435 MB / 433.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2578, allocations: 4 kB / 433.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001839/0.2596, allocations: 1.025 MB / 434.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2596, allocations: 8.219 kB / 434.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.2597, allocations: 15.94 kB / 434.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008069/0.2605, allocations: 269.5 kB / 434.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.261, allocations: 143.7 kB / 434.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/0.266, allocations: 4.862 MB / 439.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.2665, allocations: 99.19 kB / 439.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.2666, allocations: 28.06 kB / 439.8 MB, free: 1.25 MB / 350.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.0003012/0.2669, allocations: 250.3 kB / 440 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.267, allocations: 71.19 kB / 440.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.2689, allocations: 0.9632 MB / 441.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2689, allocations: 7.922 kB / 441.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2689, allocations: 0 / 441.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.2692, allocations: 208.1 kB / 441.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2693, allocations: 24 kB / 441.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.2697, allocations: 43.95 kB / 441.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.2699, allocations: 68.84 kB / 441.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002392/0.2723, allocations: 1.114 MB / 442.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001883/0.2742, allocations: 1.29 MB / 443.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005417/0.2747, allocations: 295.8 kB / 444.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.275, allocations: 314.8 kB / 444.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of Backend: time 3.41e-07/0.275, allocations: 4 kB / 444.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.2769, allocations: 1.009 MB / 445.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of SimCode: time 0.002227/0.2792, allocations: 2.076 MB / 447.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of Templates: time 0.01957/0.2988, allocations: 13.6 MB / 461.1 MB, free: 11.89 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1)