Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.0012/0.0012, allocations: 184.7 kB / 17.2 MB, free: 6.34 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.746/1.746, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004567/0.0004568, allocations: 8 kB / 280.1 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006413/0.1275, allocations: 5.029 MB / 332.7 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.1315, allocations: 1.657 MB / 334.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008255/0.1324, allocations: 39.81 kB / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.1329, allocations: 234.6 kB / 334.6 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.1343, allocations: 366.9 kB / 335 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.135, allocations: 223.6 kB / 335.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.1368, allocations: 1.35 MB / 336.6 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.1387, allocations: 1.585 MB / 338.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.1397, allocations: 0.7045 MB / 338.9 MB, free: 8.867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.141, allocations: 0.8519 MB / 339.7 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.1412, allocations: 124 kB / 339.8 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.1417, allocations: 227.8 kB / 340.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.1422, allocations: 486.5 kB / 340.5 MB, free: 7.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.1426, allocations: 432.6 kB / 341 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.145, allocations: 2.879 MB / 343.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.145, allocations: 0 / 343.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.145, allocations: 0 / 343.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.429e-05/0.1451, allocations: 0 / 343.8 MB, free: 3.875 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004125/0.1493, allocations: 2.113 MB / 345.9 MB, free: 1.699 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1493, allocations: 8.031 kB / 346 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/0.1498, allocations: 233.2 kB / 346.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.1518, allocations: 1.142 MB / 347.3 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.152, allocations: 152.2 kB / 347.5 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.1522, allocations: 204 kB / 347.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004167/0.1564, allocations: 2.587 MB / 350.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.1565, allocations: 0 / 350.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.1566, allocations: 80 kB / 350.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-05/0.1567, allocations: 52 kB / 350.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/0.1605, allocations: 2.081 MB / 352.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.1722, allocations: 7.467 MB / 359.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.1744, allocations: 2.35 MB / 362.3 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.1745, allocations: 20.92 kB / 362.3 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1746, allocations: 43.56 kB / 362.3 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.597e-06/0.1746, allocations: 0 / 362.3 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.007911/0.1825, allocations: 4.364 MB / 366.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1826, allocations: 64.41 kB / 366.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.1837, allocations: 0.8484 MB / 367.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.1838, allocations: 41.7 kB / 367.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.1844, allocations: 0.8334 MB / 368.5 MB, free: 10.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.1847, allocations: 335.1 kB / 368.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.1847, allocations: 20 kB / 368.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1849, allocations: 341.9 kB / 369.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/0.1856, allocations: 497.7 kB / 369.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008285/0.1864, allocations: 0.6816 MB / 370.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.1873, allocations: 0.5651 MB / 370.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1873, allocations: 0 / 370.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002661/0.19, allocations: 1.628 MB / 372.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.19, allocations: 4 kB / 372.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.19, allocations: 8 kB / 372.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.1912, allocations: 470.9 kB / 373 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.1919, allocations: 179.7 kB / 373.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2765/0.4684, allocations: 8.59 MB / 381.8 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009229/0.4694, allocations: 53.48 kB / 381.8 MB, free: 47.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.4695, allocations: 35.23 kB / 381.9 MB, free: 47.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001544/0.471, allocations: 0.6311 MB / 382.5 MB, free: 47.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.4715, allocations: 105.2 kB / 382.6 MB, free: 47.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.4717, allocations: 134.2 kB / 382.7 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-05/0.4718, allocations: 11.98 kB / 382.7 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.4718, allocations: 8.375 kB / 382.7 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4718, allocations: 7.844 kB / 382.8 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.4789, allocations: 3.507 MB / 386.3 MB, free: 46.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.479, allocations: 1.125 kB / 386.3 MB, free: 46.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/0.4797, allocations: 130.8 kB / 386.4 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.4809, allocations: 459 kB / 386.8 MB, free: 46.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-05/0.481, allocations: 23.39 kB / 386.9 MB, free: 46.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00872/0.4897, allocations: 8.541 MB / 395.4 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4898, allocations: 1.125 kB / 395.4 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/0.4941, allocations: 2.346 MB / 397.7 MB, free: 38.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008085/0.495, allocations: 279.3 kB / 398 MB, free: 38.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.4951, allocations: 23.83 kB / 398 MB, free: 38.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.4955, allocations: 45.05 kB / 398.1 MB, free: 38.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.4958, allocations: 94.83 kB / 398.2 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.4959, allocations: 23.72 kB / 398.2 MB, free: 38.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009776/0.4968, allocations: 0.5992 MB / 398.8 MB, free: 38.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4969, allocations: 0 / 398.8 MB, free: 38.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002195/0.4991, allocations: 380.5 kB / 399.2 MB, free: 38.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003629/0.4994, allocations: 143.3 kB / 399.3 MB, free: 38.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003265/0.5027, allocations: 1.824 MB / 401.1 MB, free: 37.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5027, allocations: 0 / 401.1 MB, free: 37.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.5045, allocations: 1.24 MB / 402.4 MB, free: 36.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.5058, allocations: 270.6 kB / 402.6 MB, free: 36.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006403/0.5122, allocations: 4.392 MB / 407 MB, free: 33.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.5134, allocations: 1.755 MB / 408.8 MB, free: 31.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006674/0.5141, allocations: 192.9 kB / 409 MB, free: 31.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.5142, allocations: 63.42 kB / 409 MB, free: 31.21 MB / 318.1 MB Notification: Performance of SimCode: time 2.344e-06/0.5142, allocations: 0 / 409 MB, free: 31.21 MB / 318.1 MB Notification: Performance of Templates: time 0.03302/0.5473, allocations: 18.76 MB / 427.8 MB, free: 12.45 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) Environment - environmentSimulation: