Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001639/0.001639, allocations: 190.1 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07371/0.07491, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.1653/0.2402, allocations: 6.254 MB / 382.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.2431, allocations: 2.179 MB / 384.3 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.2435, allocations: 21.09 kB / 384.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.245, allocations: 0.7583 MB / 385 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.2463, allocations: 0.7933 MB / 385.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.2471, allocations: 497.1 kB / 386.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.248, allocations: 1.199 MB / 387.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000974/0.249, allocations: 0.8337 MB / 388.4 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.2495, allocations: 464.6 kB / 388.8 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.25, allocations: 0.5504 MB / 389.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.2502, allocations: 110.5 kB / 389.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.2506, allocations: 272.7 kB / 389.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.2508, allocations: 258.6 kB / 390 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.2512, allocations: 0.5528 MB / 390.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.2526, allocations: 1.458 MB / 392 MB, free: 5.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2526, allocations: 0 / 392 MB, free: 5.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2526, allocations: 0 / 392 MB, free: 5.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.2526, allocations: 0 / 392 MB, free: 5.418 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002632/0.2553, allocations: 1.439 MB / 393.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2553, allocations: 7.812 kB / 393.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.2583, allocations: 480.7 kB / 393.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007555/0.259, allocations: 0.5703 MB / 394.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.2591, allocations: 76.28 kB / 394.6 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.2592, allocations: 109.1 kB / 394.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.2609, allocations: 1.054 MB / 395.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.261, allocations: 9.562 kB / 395.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.2611, allocations: 42.3 kB / 395.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.2611, allocations: 25.66 kB / 395.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.2627, allocations: 0.9161 MB / 396.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.2673, allocations: 3.707 MB / 400.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.2696, allocations: 2.483 MB / 402.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009064/0.2706, allocations: 474.6 kB / 403.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.2707, allocations: 91.66 kB / 403.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008818/0.2716, allocations: 0.4911 MB / 403.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 2.474e-06/0.2716, allocations: 0 / 403.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=86): time 0.004349/0.276, allocations: 1.706 MB / 405.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.2761, allocations: 199.3 kB / 405.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.2766, allocations: 472.7 kB / 406.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.2766, allocations: 46.42 kB / 406.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.2769, allocations: 428.6 kB / 406.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.2771, allocations: 282.3 kB / 407 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.2773, allocations: 163.8 kB / 407.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2775, allocations: 381.1 kB / 407.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.2781, allocations: 276.5 kB / 407.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.2788, allocations: 0.5222 MB / 408.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.2801, allocations: 0.8038 MB / 409.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.2801, allocations: 6.406 kB / 409.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001972/0.2821, allocations: 1.078 MB / 410.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2821, allocations: 8.5 kB / 410.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2821, allocations: 6.406 kB / 410.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008421/0.283, allocations: 274.3 kB / 410.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.2836, allocations: 155.9 kB / 410.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/0.2887, allocations: 4.867 MB / 415.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.2893, allocations: 106.6 kB / 415.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.2894, allocations: 41.36 kB / 415.7 MB, free: 5.004 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,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 (90): * Single equations (assignments): 88 * 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.0003283/0.2897, allocations: 247.6 kB / 415.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2898, allocations: 74.25 kB / 416 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.2918, allocations: 0.9607 MB / 417 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2918, allocations: 7.984 kB / 417 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2918, allocations: 1.375 kB / 417 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.2921, allocations: 218.2 kB / 417.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.2922, allocations: 17.5 kB / 417.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.2926, allocations: 41.72 kB / 417.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.2927, allocations: 73.69 kB / 417.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002401/0.2951, allocations: 1.119 MB / 418.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001963/0.2971, allocations: 1.304 MB / 419.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005398/0.2976, allocations: 303.8 kB / 420 MB, free: 2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00034/0.298, allocations: 318.9 kB / 420.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Backend: time 4e-07/0.298, allocations: 7.938 kB / 420.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.3, allocations: 1.022 MB / 421.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of SimCode: time 0.00237/0.3024, allocations: 2.112 MB / 423.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Templates: time 0.02145/0.3238, allocations: 14.14 MB / 437.6 MB, free: 316 kB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)