Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001074/0.001074, allocations: 170.9 kB / 7.644 MB, free: 1.406 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.27/1.27, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001558/0.001558, allocations: 108.5 kB / 218 MB, free: 8.418 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.666e-05, allocations: 4 kB / 262.2 MB, free: 26.43 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0716/0.07163, allocations: 38.77 MB / 301 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2603/0.332, allocations: 70.22 MB / 371.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.3322, allocations: 67.91 kB / 371.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04029/0.3725, allocations: 15.89 MB / 387.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3725, allocations: 0 / 387.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.473e-05/0.3726, allocations: 24 kB / 387.2 MB, free: 0.9336 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001892/0.3745, allocations: 1.165 MB / 388.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3746, allocations: 8.031 kB / 388.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.3748, allocations: 126.6 kB / 388.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.3758, allocations: 0.7115 MB / 389.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.3758, allocations: 31.95 kB / 389.2 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3759, allocations: 51.91 kB / 389.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001304/0.3772, allocations: 0.9532 MB / 390.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.3787, allocations: 1.054 MB / 391.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3787, allocations: 0 / 391.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.3788, allocations: 0 / 391.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.3788, allocations: 20 kB / 391.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.3837, allocations: 3.608 MB / 394.9 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.3852, allocations: 1.916 MB / 396.8 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.386, allocations: 0.6401 MB / 397.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.386, allocations: 4.781 kB / 397.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3861, allocations: 38.53 kB / 397.5 MB, free: 8.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 2.104e-06/0.3861, allocations: 0 / 397.5 MB, free: 8.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.002831/0.3889, allocations: 2.089 MB / 399.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.389, allocations: 60.19 kB / 399.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.3896, allocations: 0.5617 MB / 400.2 MB, free: 6.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.3897, allocations: 29.7 kB / 400.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.3899, allocations: 404.2 kB / 400.6 MB, free: 5.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3901, allocations: 234 kB / 400.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.3901, allocations: 0 / 400.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3903, allocations: 380.8 kB / 401.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.3907, allocations: 324.8 kB / 401.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.3911, allocations: 380 kB / 401.9 MB, free: 4.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.3916, allocations: 372.7 kB / 402.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3916, allocations: 0 / 402.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001453/0.393, allocations: 1.098 MB / 403.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3931, allocations: 15.83 kB / 403.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3931, allocations: 0 / 403.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/0.394, allocations: 443 kB / 403.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.3944, allocations: 95.88 kB / 403.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007299/0.4017, allocations: 8.169 MB / 412.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.4022, allocations: 24 kB / 412.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.4022, allocations: 19.98 kB / 412.1 MB, free: 10.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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: 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.0001509/0.4024, allocations: 114.7 kB / 412.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4025, allocations: 75.22 kB / 412.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.4027, allocations: 94.95 kB / 412.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.4028, allocations: 8 kB / 412.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4028, allocations: 7.891 kB / 412.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.4028, allocations: 7.984 kB / 412.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.4061, allocations: 2.274 MB / 414.7 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4061, allocations: 0 / 414.7 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.4065, allocations: 79.89 kB / 414.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008656/0.4073, allocations: 459.4 kB / 415.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.4074, allocations: 0 / 415.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007075/0.4145, allocations: 8.089 MB / 423.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4145, allocations: 4.172 kB / 423.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.4167, allocations: 1.744 MB / 425.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.4171, allocations: 236.2 kB / 425.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.4172, allocations: 8 kB / 425.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.4175, allocations: 31.95 kB / 425.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.4177, allocations: 72.39 kB / 425.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.4177, allocations: 16 kB / 425.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005312/0.4183, allocations: 454.8 kB / 425.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4183, allocations: 0 / 425.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009908/0.4193, allocations: 224 kB / 426.1 MB, free: 11.89 MB / 314.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 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.0001647/0.4194, allocations: 111.2 kB / 426.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.4211, allocations: 1.361 MB / 427.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4211, allocations: 4 kB / 427.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.4223, allocations: 1.016 MB / 428.6 MB, free: 9.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.4231, allocations: 163.8 kB / 428.7 MB, free: 9.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.4258, allocations: 1.766 MB / 430.5 MB, free: 7.359 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008185/0.4267, allocations: 1.267 MB / 431.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002769/0.4269, allocations: 114 kB / 431.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4271, allocations: 51.42 kB / 431.9 MB, free: 5.898 MB / 314.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4271, allocations: 0 / 431.9 MB, free: 5.898 MB / 314.7 MB Notification: Performance of Templates: time 0.01989/0.447, allocations: 13.23 MB / 445.2 MB, free: 8.645 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)