Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.004416/0.004417, allocations: 174.3 kB / 7.45 MB, free: 2.508 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.04/1.04, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001792/0.001792, allocations: 112.4 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.676e-06, allocations: 0 / 261.8 MB, free: 26.62 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/0.3644, allocations: 78.2 MB / 378.7 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3647, allocations: 85.64 kB / 378.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1513/0.516, allocations: 56.54 MB / 435.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002241/0.5163, allocations: 55.88 kB / 435.4 MB, free: 3.75 MB / 314.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.005717/0.522, allocations: 1.844 MB / 437.2 MB, free: 1.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.5221, allocations: 12.02 kB / 437.2 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.5239, allocations: 253.3 kB / 437.5 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/0.5282, allocations: 1.313 MB / 438.8 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.5284, allocations: 56 kB / 438.9 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000563/0.529, allocations: 107.9 kB / 439 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004383/0.5333, allocations: 1.827 MB / 440.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/0.5386, allocations: 2.216 MB / 443 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.5386, allocations: 3.984 kB / 443 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.5388, allocations: 4 kB / 443 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.539, allocations: 99.56 kB / 443.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.5518, allocations: 6.613 MB / 449.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.5534, allocations: 1.072 MB / 450.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.5549, allocations: 0.9917 MB / 451.8 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.5553, allocations: 125.7 kB / 451.9 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.5553, allocations: 43.22 kB / 452 MB, free: 2.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 4.899e-06/0.5553, allocations: 8 kB / 452 MB, free: 2.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.005233/0.5606, allocations: 2.623 MB / 454.6 MB, free: 148 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.5606, allocations: 93.83 kB / 454.7 MB, free: 32 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.562, allocations: 0.8757 MB / 455.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.562, allocations: 29.7 kB / 455.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.5624, allocations: 0.6771 MB / 456.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.5627, allocations: 283.7 kB / 456.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.5627, allocations: 0 / 456.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5629, allocations: 345.9 kB / 456.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.5635, allocations: 465.8 kB / 457.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.5643, allocations: 0.6163 MB / 457.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.5651, allocations: 0.5744 MB / 458.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5651, allocations: 0 / 458.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002091/0.5672, allocations: 1.303 MB / 459.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5672, allocations: 7.906 kB / 459.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.5672, allocations: 8 kB / 459.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.5677, allocations: 124.6 kB / 460 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5688, allocations: 247.6 kB / 460.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.5712, allocations: 1.993 MB / 462.2 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.5719, allocations: 15.98 kB / 462.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.572, allocations: 39.98 kB / 462.3 MB, free: 8.23 MB / 346.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.0002183/0.5722, allocations: 136.8 kB / 462.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.5725, allocations: 106.7 kB / 462.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.5746, allocations: 1.155 MB / 463.6 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.5746, allocations: 8 kB / 463.7 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5746, allocations: 8 kB / 463.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5746, allocations: 7.984 kB / 463.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005325/0.5799, allocations: 2.868 MB / 466.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.58, allocations: 0 / 466.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009039/0.5809, allocations: 191.7 kB / 466.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003602/0.5813, allocations: 104.8 kB / 466.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.5813, allocations: 7.984 kB / 466.8 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.5843, allocations: 3.212 MB / 470 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5843, allocations: 0 / 470 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1434/0.7277, allocations: 1.87 MB / 471.9 MB, free: 117.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.7288, allocations: 293.1 kB / 472.2 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.7291, allocations: 13 kB / 472.2 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.7301, allocations: 42.56 kB / 472.3 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.7303, allocations: 48.47 kB / 472.3 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.7304, allocations: 26.02 kB / 472.3 MB, free: 117.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001608/0.7321, allocations: 0.6771 MB / 473 MB, free: 117.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001841/0.7339, allocations: 317 kB / 473.3 MB, free: 117.6 MB / 346.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.0005062/0.7344, allocations: 178.8 kB / 473.5 MB, free: 117.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.7369, allocations: 1.187 MB / 474.7 MB, free: 117.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7369, allocations: 3.594 kB / 474.7 MB, free: 117.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.7382, allocations: 0.6575 MB / 475.3 MB, free: 117.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.7398, allocations: 206.4 kB / 475.5 MB, free: 117.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007976/0.7478, allocations: 2.648 MB / 478.2 MB, free: 116.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002512/0.7503, allocations: 1.845 MB / 480 MB, free: 116.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.7504, allocations: 0 / 480 MB, free: 116.1 MB / 346.7 MB Notification: Performance of Templates: time 0.04186/0.7922, allocations: 14.32 MB / 494.4 MB, free: 115.7 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)