Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [: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.002402/0.002405, allocations: 178.6 kB / 7.451 MB, free: 2.512 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.063/1.063, allocations: 170.6 MB / 178.4 MB, free: 15.73 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.001755/0.001756, allocations: 107.9 kB / 217.7 MB, free: 8.496 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.165e-06, allocations: 0 / 261.8 MB, free: 26.7 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08013/0.08016, allocations: 38.75 MB / 300.5 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/0.3413, allocations: 81.68 MB / 382.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.3416, allocations: 82.7 kB / 382.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.198/0.5396, allocations: 74.11 MB / 456.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003428/0.54, allocations: 91.8 kB / 456.5 MB, free: 14.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.008373/0.5484, allocations: 2.865 MB / 459.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5485, allocations: 8.031 kB / 459.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.5505, allocations: 395.7 kB / 459.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005831/0.5563, allocations: 2 MB / 461.7 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.5565, allocations: 96 kB / 461.8 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009801/0.5575, allocations: 168 kB / 462 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007129/0.5647, allocations: 3.018 MB / 465 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.5752, allocations: 3.693 MB / 468.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.5753, allocations: 11.78 kB / 468.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000894/0.5763, allocations: 4 kB / 468.7 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/0.5765, allocations: 141.9 kB / 468.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1749/0.7514, allocations: 10.39 MB / 479.2 MB, free: 105.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.7533, allocations: 1.519 MB / 480.8 MB, free: 105.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.7551, allocations: 1.351 MB / 482.1 MB, free: 105.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003718/0.7555, allocations: 140.7 kB / 482.3 MB, free: 105.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.7555, allocations: 44.09 kB / 482.3 MB, free: 105.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.717e-06/0.7555, allocations: 0 / 482.3 MB, free: 105.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.00749/0.763, allocations: 4.334 MB / 486.6 MB, free: 104.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.7631, allocations: 92.36 kB / 486.7 MB, free: 104.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.7649, allocations: 1.341 MB / 488.1 MB, free: 104.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.7649, allocations: 25.7 kB / 488.1 MB, free: 104.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/0.7654, allocations: 1.085 MB / 489.2 MB, free: 103.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.7657, allocations: 440.8 kB / 489.6 MB, free: 103.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.7658, allocations: 0 / 489.6 MB, free: 103.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.7659, allocations: 364.2 kB / 490 MB, free: 103.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009457/0.7669, allocations: 0.792 MB / 490.7 MB, free: 103.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.768, allocations: 1.131 MB / 491.9 MB, free: 102.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.7693, allocations: 1.008 MB / 492.9 MB, free: 102.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.7694, allocations: 3.594 kB / 492.9 MB, free: 102.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003692/0.7731, allocations: 2.392 MB / 495.3 MB, free: 102.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.7731, allocations: 6.5 kB / 495.3 MB, free: 102.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.7731, allocations: 15.09 kB / 495.3 MB, free: 102.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000971/0.7741, allocations: 377.9 kB / 495.7 MB, free: 102.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.7756, allocations: 319.8 kB / 496 MB, free: 102.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.7805, allocations: 3.97 MB / 500 MB, free: 101.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.7819, allocations: 55.39 kB / 0.4883 GB, free: 101.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.782, allocations: 63.72 kB / 0.4884 GB, free: 101.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.7823, allocations: 139.2 kB / 0.4885 GB, free: 101.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.7827, allocations: 174.5 kB / 0.4886 GB, free: 101 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.786, allocations: 2.088 MB / 0.4907 GB, free: 100.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.786, allocations: 15.34 kB / 0.4907 GB, free: 100.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.786, allocations: 10.19 kB / 0.4907 GB, free: 100.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.7861, allocations: 6.844 kB / 0.4907 GB, free: 100.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007577/0.7936, allocations: 4.623 MB / 0.4952 GB, free: 100.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/0.7937, allocations: 7.438 kB / 0.4952 GB, free: 100.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.795, allocations: 216.4 kB / 0.4954 GB, free: 100.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.7961, allocations: 360.3 kB / 0.4958 GB, free: 100.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/0.7962, allocations: 18.14 kB / 0.4958 GB, free: 100.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/0.8006, allocations: 3.948 MB / 0.4997 GB, free: 98.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.8007, allocations: 3.688 kB / 0.4997 GB, free: 98.56 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004657/0.8053, allocations: 3.292 MB / 0.5029 GB, free: 97.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.8065, allocations: 437.9 kB / 0.5033 GB, free: 96.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/0.8068, allocations: 11.45 kB / 0.5033 GB, free: 96.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.8078, allocations: 72.31 kB / 0.5034 GB, free: 96.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.808, allocations: 74.61 kB / 0.5035 GB, free: 96.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.8081, allocations: 43.86 kB / 0.5035 GB, free: 96.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001899/0.81, allocations: 1.024 MB / 0.5045 GB, free: 96.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002356/0.8124, allocations: 494.8 kB / 0.505 GB, free: 96.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005386/0.8129, allocations: 189.4 kB / 0.5051 GB, free: 96.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.8164, allocations: 2.183 MB / 0.5073 GB, free: 95.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8164, allocations: 0 / 0.5073 GB, free: 95.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.8181, allocations: 1.237 MB / 0.5085 GB, free: 94.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.8203, allocations: 338.1 kB / 0.5088 GB, free: 94.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.8306, allocations: 4.506 MB / 0.5132 GB, free: 93.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/0.8331, allocations: 2.581 MB / 0.5157 GB, free: 92.11 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8331, allocations: 0 / 0.5157 GB, free: 92.11 MB / 346.7 MB Notification: Performance of Templates: time 0.03847/0.8715, allocations: 23.42 MB / 0.5386 GB, free: 80.5 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)