Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001196/0.001196, allocations: 190.2 kB / 8.136 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.086/1.086, allocations: 194.2 MB / 202.8 MB, free: 8.754 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001822/0.001822, allocations: 118.6 kB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.386e-06/8.937e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07221/0.07224, allocations: 44.48 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.2673, allocations: 83.45 MB / 425.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/0.2675, allocations: 79.83 kB / 425.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1449/0.4124, allocations: 55.88 MB / 481.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001475/0.4126, allocations: 59.86 kB / 481.5 MB, free: 11.24 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004566/0.4172, allocations: 1.843 MB / 483.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4172, allocations: 8.031 kB / 483.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.4183, allocations: 257.3 kB / 483.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.4214, allocations: 1.313 MB / 484.9 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.4215, allocations: 56 kB / 485 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.4219, allocations: 107.8 kB / 485.1 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003544/0.4254, allocations: 1.823 MB / 486.9 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.4295, allocations: 2.218 MB / 489.1 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.4295, allocations: 4 kB / 489.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.4297, allocations: 0 / 489.2 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-05/0.4298, allocations: 95.58 kB / 489.2 MB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.4417, allocations: 6.609 MB / 495.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.4444, allocations: 1.08 MB / 496.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002739/0.4471, allocations: 0.9799 MB / 497.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004245/0.4476, allocations: 129.7 kB / 498 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.4476, allocations: 39.22 kB / 498.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.857e-06/0.4477, allocations: 0 / 498.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.008869/0.4565, allocations: 2.623 MB / 0.489 GB, free: 7.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.4566, allocations: 93.88 kB / 0.4891 GB, free: 7.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/0.4589, allocations: 0.8716 MB / 0.4899 GB, free: 6.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.316e-05/0.4591, allocations: 25.7 kB / 0.4899 GB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/0.4597, allocations: 0.677 MB / 0.4906 GB, free: 5.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.4601, allocations: 291.7 kB / 0.4909 GB, free: 5.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.4602, allocations: 0 / 0.4909 GB, free: 5.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4604, allocations: 334 kB / 0.4912 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4617, allocations: 465.8 kB / 0.4916 GB, free: 4.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4632, allocations: 0.6202 MB / 0.4922 GB, free: 4.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4648, allocations: 0.5744 MB / 0.4928 GB, free: 3.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4648, allocations: 0 / 0.4928 GB, free: 3.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003838/0.4687, allocations: 1.302 MB / 0.4941 GB, free: 2.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4687, allocations: 5.094 kB / 0.4941 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.4687, allocations: 4 kB / 0.4941 GB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006883/0.4694, allocations: 129.2 kB / 0.4942 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.4718, allocations: 247.7 kB / 0.4944 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.4755, allocations: 2.009 MB / 0.4964 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.4768, allocations: 19.98 kB / 0.4964 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.477, allocations: 28 kB / 0.4964 GB, free: 15.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.4773, allocations: 132.6 kB / 0.4966 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.4777, allocations: 110.8 kB / 0.4967 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.4813, allocations: 1.15 MB / 0.4978 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.4813, allocations: 8 kB / 0.4978 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4813, allocations: 4 kB / 0.4978 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.4814, allocations: 11.88 kB / 0.4978 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009224/0.4906, allocations: 2.856 MB / 0.5006 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4906, allocations: 0 / 0.5006 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.4927, allocations: 187.7 kB / 0.5008 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.4934, allocations: 112.7 kB / 0.5009 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/0.4935, allocations: 7.984 kB / 0.5009 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004824/0.4983, allocations: 3.232 MB / 0.5041 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4984, allocations: 0 / 0.5041 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005009/0.5034, allocations: 1.856 MB / 0.5059 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/0.5044, allocations: 299.9 kB / 0.5062 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.5047, allocations: 3.906 kB / 0.5062 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.506, allocations: 43.97 kB / 0.5062 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.5062, allocations: 48.64 kB / 0.5063 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.5064, allocations: 31.98 kB / 0.5063 GB, free: 5.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001669/0.5081, allocations: 0.667 MB / 0.5069 GB, free: 4.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001906/0.51, allocations: 316 kB / 0.5072 GB, free: 4.348 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004866/0.5105, allocations: 179.5 kB / 0.5074 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003134/0.5136, allocations: 1.18 MB / 0.5086 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5137, allocations: 4.25 kB / 0.5086 GB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.5157, allocations: 0.6566 MB / 0.5092 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.5177, allocations: 208.8 kB / 0.5094 GB, free: 2.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1409/0.6587, allocations: 2.64 MB / 0.512 GB, free: 130.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002801/0.6615, allocations: 1.847 MB / 0.5138 GB, free: 129.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6615, allocations: 3.875 kB / 0.5138 GB, free: 129.6 MB / 394.7 MB Notification: Performance of Templates: time 0.04386/0.7054, allocations: 14.31 MB / 0.5278 GB, free: 129.3 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)