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.0008828/0.0008829, allocations: 88.16 kB / 16.31 MB, free: 5.559 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.0009399/0.0009399, allocations: 180.4 kB / 17.21 MB, free: 5.477 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.525/1.525, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.000454/0.0004541, allocations: 8 kB / 280.1 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 47.57 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006025/0.1104, allocations: 5.413 MB / 333.1 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.1142, allocations: 2.026 MB / 335.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004451/0.1147, allocations: 19.94 kB / 335.2 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.1152, allocations: 206.7 kB / 335.4 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.1165, allocations: 0.6492 MB / 336 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.1173, allocations: 359.3 kB / 336.4 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1184, allocations: 1.097 MB / 337.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.12, allocations: 0.922 MB / 338.4 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.1205, allocations: 362.5 kB / 338.8 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005705/0.1211, allocations: 465.9 kB / 339.2 MB, free: 8.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.1212, allocations: 52 kB / 339.3 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.1216, allocations: 199.8 kB / 339.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1218, allocations: 175.2 kB / 339.6 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.122, allocations: 213.1 kB / 339.8 MB, free: 7.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.123, allocations: 1.071 MB / 340.9 MB, free: 6.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.123, allocations: 4 kB / 340.9 MB, free: 6.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.123, allocations: 0 / 340.9 MB, free: 6.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.123, allocations: 0 / 340.9 MB, free: 6.77 MB / 286.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.002544/0.1256, allocations: 1.272 MB / 342.2 MB, free: 5.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1257, allocations: 16.03 kB / 342.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.1284, allocations: 474.3 kB / 342.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.1292, allocations: 0.5568 MB / 343.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.1293, allocations: 81.98 kB / 343.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.1294, allocations: 104 kB / 343.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.1313, allocations: 1.055 MB / 344.5 MB, free: 3.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.1313, allocations: 4 kB / 344.5 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.1314, allocations: 40 kB / 344.5 MB, free: 3.031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.1314, allocations: 24 kB / 344.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.1332, allocations: 0.9369 MB / 345.5 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.1383, allocations: 3.758 MB / 349.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.1408, allocations: 2.505 MB / 351.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008349/0.1417, allocations: 483.4 kB / 352.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.1418, allocations: 97.73 kB / 352.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008185/0.1426, allocations: 0.5008 MB / 352.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 2.534e-06/0.1426, allocations: 0 / 352.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.00418/0.1468, allocations: 1.714 MB / 354.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.147, allocations: 204.8 kB / 354.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.1475, allocations: 466 kB / 355.2 MB, free: 7.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.1476, allocations: 45.7 kB / 355.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.1479, allocations: 435.3 kB / 355.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.1481, allocations: 283.9 kB / 355.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1482, allocations: 19.94 kB / 355.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1483, allocations: 374.7 kB / 356.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.1489, allocations: 285.9 kB / 356.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/0.1496, allocations: 0.5317 MB / 357.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.1502, allocations: 339.1 kB / 357.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1503, allocations: 0 / 357.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001962/0.1522, allocations: 1.092 MB / 358.5 MB, free: 4.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1523, allocations: 11.95 kB / 358.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.1523, allocations: 8 kB / 358.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000823/0.1531, allocations: 275.7 kB / 358.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.1537, allocations: 155.8 kB / 359 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/0.1588, allocations: 4.399 MB / 363.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.1594, allocations: 111.2 kB / 363.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.1595, allocations: 39.98 kB / 363.5 MB, free: 14.89 MB / 318.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.000427/0.1599, allocations: 245.6 kB / 363.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1601, allocations: 71.16 kB / 363.8 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.162, allocations: 0.991 MB / 364.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.162, allocations: 8 kB / 364.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.162, allocations: 0 / 364.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.162, allocations: 3.984 kB / 364.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.165, allocations: 1.963 MB / 366.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1651, allocations: 4 kB / 366.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.1655, allocations: 103.9 kB / 366.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/0.1662, allocations: 265.5 kB / 367.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.1663, allocations: 27.92 kB / 367.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004672/0.171, allocations: 4.353 MB / 371.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.171, allocations: 0 / 371.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.1734, allocations: 1.412 MB / 372.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.1737, allocations: 220 kB / 373.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/0.1738, allocations: 19.94 kB / 373.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.1742, allocations: 55.95 kB / 373.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.1744, allocations: 68.91 kB / 373.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.1744, allocations: 23.98 kB / 373.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003474/0.1748, allocations: 318.8 kB / 373.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1748, allocations: 0 / 373.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001072/0.1759, allocations: 315.1 kB / 373.9 MB, free: 4.051 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0002895/0.1762, allocations: 159.2 kB / 374.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.1782, allocations: 1.12 MB / 375.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1782, allocations: 0 / 375.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.1793, allocations: 0.7433 MB / 376 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.18, allocations: 114 kB / 376.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1623/0.3423, allocations: 2.062 MB / 378.1 MB, free: 51.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.343, allocations: 0.9978 MB / 379.1 MB, free: 51.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005411/0.3435, allocations: 85.16 kB / 379.2 MB, free: 51.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3437, allocations: 50.53 kB / 379.3 MB, free: 51.11 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3437, allocations: 0 / 379.3 MB, free: 51.11 MB / 318.1 MB Notification: Performance of Templates: time 0.02154/0.3652, allocations: 11.15 MB / 390.4 MB, free: 48.19 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (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)