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.0008131/0.0008131, allocations: 90.34 kB / 16.65 MB, free: 6.535 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.0009153/0.0009154, allocations: 177 kB / 17.56 MB, free: 6.18 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.475/1.475, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004461/0.000446, allocations: 12.47 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.005971/0.1172, allocations: 5.77 MB / 334.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.1211, allocations: 2.123 MB / 336.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.1218, allocations: 19.94 kB / 336.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007418/0.1226, allocations: 246.7 kB / 336.5 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.1245, allocations: 0.6958 MB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.1254, allocations: 451.1 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1266, allocations: 1.121 MB / 338.7 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.1282, allocations: 1.065 MB / 339.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.1287, allocations: 378.3 kB / 340.2 MB, free: 7.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.1293, allocations: 489.6 kB / 340.6 MB, free: 7.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.1294, allocations: 48 kB / 340.7 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.1299, allocations: 203.8 kB / 340.9 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1301, allocations: 183.1 kB / 341.1 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.1305, allocations: 0.5029 MB / 341.6 MB, free: 6.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1318, allocations: 1.354 MB / 342.9 MB, free: 5.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1318, allocations: 4 kB / 342.9 MB, free: 5.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1318, allocations: 0 / 342.9 MB, free: 5.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1318, allocations: 0 / 342.9 MB, free: 5.023 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.002771/0.1346, allocations: 1.261 MB / 344.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1346, allocations: 12.03 kB / 344.2 MB, free: 3.695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.1376, allocations: 471.2 kB / 344.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.1388, allocations: 0.5773 MB / 345.2 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.1389, allocations: 74.41 kB / 345.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.1391, allocations: 100.4 kB / 345.4 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.1415, allocations: 1.071 MB / 346.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.1415, allocations: 0 / 346.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.1416, allocations: 40 kB / 346.5 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.1417, allocations: 28 kB / 346.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.1436, allocations: 0.9486 MB / 347.5 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/0.1497, allocations: 3.777 MB / 351.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.1526, allocations: 2.494 MB / 353.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009627/0.1535, allocations: 483.5 kB / 354.2 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.1537, allocations: 97.75 kB / 354.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.1547, allocations: 0.5008 MB / 354.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 2.535e-06/0.1547, allocations: 0 / 354.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.004644/0.1594, allocations: 1.741 MB / 356.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.1595, allocations: 192.9 kB / 356.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.1601, allocations: 482 kB / 357.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.1602, allocations: 45.69 kB / 357.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.1605, allocations: 423.4 kB / 357.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.1608, allocations: 287.9 kB / 358 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1609, allocations: 81.67 kB / 358.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1611, allocations: 378.7 kB / 358.4 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/0.1618, allocations: 289.9 kB / 358.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008509/0.1627, allocations: 0.5317 MB / 359.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.164, allocations: 0.8304 MB / 360.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.164, allocations: 0 / 360.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002078/0.1661, allocations: 1.099 MB / 361.2 MB, free: 1.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.12e-05/0.1662, allocations: 8.219 kB / 361.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.1662, allocations: 12 kB / 361.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009414/0.1672, allocations: 265.6 kB / 361.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.1678, allocations: 175.7 kB / 361.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.1735, allocations: 4.389 MB / 366 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/0.1743, allocations: 107.2 kB / 366.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.1744, allocations: 44 kB / 366.2 MB, free: 12.42 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,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.0004409/0.1748, allocations: 249.6 kB / 366.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1749, allocations: 75.25 kB / 366.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.177, allocations: 0.9947 MB / 367.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.177, allocations: 8 kB / 367.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1771, allocations: 0 / 367.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.1771, allocations: 8.109 kB / 367.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.1803, allocations: 1.978 MB / 369.5 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1803, allocations: 3.938 kB / 369.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.1807, allocations: 103.9 kB / 369.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007678/0.1815, allocations: 269.4 kB / 369.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.1816, allocations: 19.98 kB / 369.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.1864, allocations: 4.36 MB / 374.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1865, allocations: 3.984 kB / 374.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.1891, allocations: 1.415 MB / 375.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.1894, allocations: 220 kB / 375.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.1895, allocations: 20 kB / 375.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.19, allocations: 51.97 kB / 375.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.1901, allocations: 64.91 kB / 376 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.1902, allocations: 35.98 kB / 376 MB, free: 2.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003789/0.1906, allocations: 318.9 kB / 376.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1906, allocations: 0 / 376.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001069/0.1917, allocations: 315.1 kB / 376.6 MB, free: 1.531 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 (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 Backend phase and start with SimCode phase: time 0.0002915/0.192, allocations: 159.3 kB / 376.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.1941, allocations: 1.128 MB / 377.9 MB, free: 216 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1941, allocations: 4.188 kB / 377.9 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1469/0.341, allocations: 0.7401 MB / 378.7 MB, free: 51.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.3418, allocations: 114.7 kB / 378.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.3448, allocations: 2.164 MB / 380.9 MB, free: 50.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3454, allocations: 0.9986 MB / 381.9 MB, free: 49.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003799/0.3457, allocations: 90.72 kB / 382 MB, free: 49.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3459, allocations: 52.3 kB / 382.1 MB, free: 49.67 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3459, allocations: 0 / 382.1 MB, free: 49.67 MB / 318.1 MB Notification: Performance of Templates: time 0.01869/0.3646, allocations: 11.49 MB / 393.6 MB, free: 46.21 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)