Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008995/0.0008996, allocations: 94.98 kB / 16.3 MB, free: 5.996 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.0009564/0.0009565, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.558/1.558, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.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.0004988/0.000499, allocations: 16 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2823, allocations: 47.59 MB / 327.7 MB, free: 1.301 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006578/0.289, allocations: 5.059 MB / 332.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.2941, allocations: 2.066 MB / 334.8 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.2953, allocations: 20.59 kB / 334.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009446/0.2963, allocations: 200.9 kB / 335.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.2987, allocations: 0.7209 MB / 335.8 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2998, allocations: 368.6 kB / 336.1 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.3015, allocations: 0.7794 MB / 336.9 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.3032, allocations: 0.9297 MB / 337.8 MB, free: 9.199 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.3038, allocations: 370.5 kB / 338.2 MB, free: 8.836 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.3045, allocations: 458 kB / 338.7 MB, free: 8.387 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.173e-05/0.3046, allocations: 48 kB / 338.7 MB, free: 8.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006226/0.3052, allocations: 179.8 kB / 338.9 MB, free: 8.164 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3053, allocations: 175.3 kB / 339 MB, free: 7.992 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.3056, allocations: 209.1 kB / 339.3 MB, free: 7.781 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.3066, allocations: 1.067 MB / 340.3 MB, free: 6.711 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3066, allocations: 0 / 340.3 MB, free: 6.711 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3066, allocations: 4 kB / 340.3 MB, free: 6.707 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3067, allocations: 0 / 340.3 MB, free: 6.707 MB / 270.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.002903/0.3096, allocations: 1.265 MB / 341.6 MB, free: 5.387 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3096, allocations: 8.031 kB / 341.6 MB, free: 5.379 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002878/0.3125, allocations: 474.3 kB / 342.1 MB, free: 4.914 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.3135, allocations: 0.5645 MB / 342.6 MB, free: 4.309 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.3136, allocations: 81.98 kB / 342.7 MB, free: 4.227 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.3137, allocations: 104 kB / 342.8 MB, free: 4.125 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.3156, allocations: 1.04 MB / 343.8 MB, free: 3.035 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.3157, allocations: 7.938 kB / 343.9 MB, free: 3.027 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3158, allocations: 47.94 kB / 343.9 MB, free: 2.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.3158, allocations: 24 kB / 343.9 MB, free: 2.957 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.3177, allocations: 0.9331 MB / 344.9 MB, free: 2.027 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005623/0.3233, allocations: 3.766 MB / 348.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.326, allocations: 2.498 MB / 351.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.3261, allocations: 93.75 kB / 351.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008958/0.327, allocations: 0.4968 MB / 351.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=86): time 2.965e-06/0.327, allocations: 4 kB / 351.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=86): time 0.00447/0.3315, allocations: 1.681 MB / 353.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.3316, allocations: 200.8 kB / 353.6 MB, free: 8.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.3323, allocations: 470 kB / 354 MB, free: 8.133 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.3324, allocations: 41.73 kB / 354.1 MB, free: 8.086 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.3327, allocations: 439.3 kB / 354.5 MB, free: 7.648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.333, allocations: 276 kB / 354.8 MB, free: 7.375 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.3331, allocations: 20 kB / 354.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3333, allocations: 374.8 kB / 355.2 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.3339, allocations: 285.9 kB / 355.4 MB, free: 6.703 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/0.3346, allocations: 0.5278 MB / 356 MB, free: 6.066 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.3353, allocations: 335.1 kB / 356.3 MB, free: 5.742 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3353, allocations: 4 kB / 356.3 MB, free: 5.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002068/0.3374, allocations: 1.096 MB / 357.4 MB, free: 4.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.3374, allocations: 8.219 kB / 357.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3375, allocations: 8 kB / 357.4 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008426/0.3383, allocations: 275.5 kB / 357.7 MB, free: 4.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.3389, allocations: 171.8 kB / 357.9 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005408/0.3443, allocations: 4.465 MB / 362.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/0.3451, allocations: 115.2 kB / 362.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.3452, allocations: 44.3 kB / 362.5 MB, free: 15.28 MB / 302.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,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005126/0.3457, allocations: 249.6 kB / 362.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3458, allocations: 71.16 kB / 362.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.3477, allocations: 0.991 MB / 363.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.3478, allocations: 8 kB / 363.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3478, allocations: 0 / 363.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.3478, allocations: 7.984 kB / 363.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.3508, allocations: 1.95 MB / 365.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3508, allocations: 4 kB / 365.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.3513, allocations: 107.9 kB / 365.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007296/0.352, allocations: 273.9 kB / 366.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.3521, allocations: 16 kB / 366.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004668/0.3568, allocations: 4.431 MB / 370.6 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3568, allocations: 3.938 kB / 370.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.3592, allocations: 1.419 MB / 372 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.3595, allocations: 220 kB / 372.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.3596, allocations: 19.95 kB / 372.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.3601, allocations: 51.97 kB / 372.3 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.3603, allocations: 72.89 kB / 372.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.3603, allocations: 23.94 kB / 372.4 MB, free: 4.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003718/0.3607, allocations: 318.9 kB / 372.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3607, allocations: 0 / 372.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001134/0.3618, allocations: 311.1 kB / 373 MB, free: 4.359 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002825/0.3621, allocations: 159.1 kB / 373.1 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.3641, allocations: 1.119 MB / 374.3 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3641, allocations: 0 / 374.3 MB, free: 3.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.3653, allocations: 0.7442 MB / 375 MB, free: 2.285 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.3658, allocations: 102.2 kB / 375.1 MB, free: 2.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.3689, allocations: 2.051 MB / 377.2 MB, free: 96 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.3696, allocations: 1.018 MB / 378.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003628/0.37, allocations: 85.66 kB / 378.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3701, allocations: 51.36 kB / 378.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3701, allocations: 0 / 378.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of Templates: time 0.01852/0.3886, allocations: 11.12 MB / 389.4 MB, free: 3.777 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) Environment - environmentSimulation: