Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001803/0.001803, allocations: 190.2 kB / 8.137 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.127/1.127, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001731/0.001731, allocations: 117.8 kB / 247.7 MB, free: 6.438 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.095e-06, allocations: 4 kB / 297.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07244/0.07247, allocations: 44.49 MB / 342.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.2735, allocations: 87.04 MB / 429.1 MB, free: 8.152 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001636/0.2737, allocations: 81.52 kB / 429.2 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1877/0.4614, allocations: 73.95 MB / 0.4913 GB, free: 5.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001985/0.4616, allocations: 87.88 kB / 0.4914 GB, free: 5.469 MB / 378.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.005826/0.4675, allocations: 2.876 MB / 0.4942 GB, free: 2.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4675, allocations: 8.031 kB / 0.4942 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.4687, allocations: 399.6 kB / 0.4946 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.4729, allocations: 2.19 MB / 0.4968 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.4731, allocations: 100 kB / 0.4969 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/0.4735, allocations: 171.8 kB / 0.497 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005158/0.4786, allocations: 3.015 MB / 0.5 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006159/0.4848, allocations: 3.696 MB / 0.5036 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.4849, allocations: 0 / 0.5036 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.4851, allocations: 4 kB / 0.5036 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.4853, allocations: 141.9 kB / 0.5037 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1143/0.5996, allocations: 10.5 MB / 0.514 GB, free: 115 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.6014, allocations: 1.528 MB / 0.5155 GB, free: 115 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.6029, allocations: 1.36 MB / 0.5168 GB, free: 115 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.6032, allocations: 127.3 kB / 0.5169 GB, free: 114.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.6032, allocations: 52.19 kB / 0.517 GB, free: 114.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.576e-06/0.6032, allocations: 3.469 kB / 0.517 GB, free: 114.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.006369/0.6096, allocations: 4.325 MB / 0.5212 GB, free: 114.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.6096, allocations: 95.89 kB / 0.5213 GB, free: 114.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.6113, allocations: 1.459 MB / 0.5227 GB, free: 114.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.6113, allocations: 29.64 kB / 0.5227 GB, free: 114.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.6117, allocations: 1.086 MB / 0.5238 GB, free: 113.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.612, allocations: 439.5 kB / 0.5242 GB, free: 113.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.612, allocations: 0 / 0.5242 GB, free: 113.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.6121, allocations: 369.7 kB / 0.5246 GB, free: 113.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009153/0.613, allocations: 0.7912 MB / 0.5253 GB, free: 113.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.6141, allocations: 1.131 MB / 0.5264 GB, free: 112.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.6152, allocations: 1.002 MB / 0.5274 GB, free: 112.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6152, allocations: 3.188 kB / 0.5274 GB, free: 112.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003198/0.6184, allocations: 2.391 MB / 0.5298 GB, free: 112.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6185, allocations: 3.312 kB / 0.5298 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.6185, allocations: 13.09 kB / 0.5298 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008918/0.6194, allocations: 380 kB / 0.5301 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.6208, allocations: 322.6 kB / 0.5304 GB, free: 112.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/0.6248, allocations: 3.962 MB / 0.5343 GB, free: 111.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.626, allocations: 51.34 kB / 0.5344 GB, free: 111.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.6261, allocations: 61.12 kB / 0.5344 GB, free: 111.1 MB / 394.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.000224/0.6263, allocations: 135.3 kB / 0.5345 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.6266, allocations: 175.5 kB / 0.5347 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.6295, allocations: 2.103 MB / 0.5368 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6295, allocations: 15.03 kB / 0.5368 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6296, allocations: 3.844 kB / 0.5368 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.6296, allocations: 6.703 kB / 0.5368 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006476/0.6361, allocations: 4.687 MB / 0.5414 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.6361, allocations: 3.938 kB / 0.5414 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.6372, allocations: 216.8 kB / 0.5416 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00087/0.638, allocations: 356.5 kB / 0.5419 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.6381, allocations: 14.47 kB / 0.5419 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004016/0.6422, allocations: 3.948 MB / 0.5458 GB, free: 109.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6422, allocations: 0 / 0.5458 GB, free: 109.1 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003836/0.646, allocations: 3.293 MB / 0.549 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007503/0.6468, allocations: 452.2 kB / 0.5494 GB, free: 108.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.6471, allocations: 3.25 kB / 0.5494 GB, free: 108.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.6481, allocations: 75.44 kB / 0.5495 GB, free: 108.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.6483, allocations: 72.34 kB / 0.5496 GB, free: 108.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/0.6484, allocations: 42.08 kB / 0.5496 GB, free: 108.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001374/0.6498, allocations: 1.111 MB / 0.5507 GB, free: 108.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001454/0.6513, allocations: 0.503 MB / 0.5512 GB, free: 108.3 MB / 394.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.000349/0.6516, allocations: 206.5 kB / 0.5514 GB, free: 108.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.6542, allocations: 2.179 MB / 0.5535 GB, free: 107.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6542, allocations: 0 / 0.5535 GB, free: 107.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.6557, allocations: 1.241 MB / 0.5547 GB, free: 107.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.6572, allocations: 341.1 kB / 0.5551 GB, free: 107.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/0.6645, allocations: 4.656 MB / 0.5596 GB, free: 105.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/0.6666, allocations: 2.589 MB / 0.5621 GB, free: 104.4 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6666, allocations: 3.438 kB / 0.5621 GB, free: 104.4 MB / 394.7 MB Notification: Performance of Templates: time 0.03774/0.7043, allocations: 24.48 MB / 0.586 GB, free: 103.2 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)