Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [: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.003865/0.003865, allocations: 176.7 kB / 7.452 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.311/1.311, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001838/0.001838, allocations: 119.9 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.546e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09228, allocations: 38.75 MB / 300.5 MB, free: 3.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.3994, allocations: 70.25 MB / 370.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3996, allocations: 72.33 kB / 370.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.0479/0.4476, allocations: 18.45 MB / 389.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001304/0.4477, allocations: 31.94 kB / 389.3 MB, free: 14.82 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003546/0.4513, allocations: 1.328 MB / 390.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4514, allocations: 8.031 kB / 390.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/0.4519, allocations: 146.3 kB / 390.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.4536, allocations: 0.8619 MB / 391.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.4537, allocations: 32 kB / 391.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.4538, allocations: 67.94 kB / 391.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001863/0.4557, allocations: 1.15 MB / 392.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.4577, allocations: 1.34 MB / 394.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4577, allocations: 0 / 394.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.4578, allocations: 4 kB / 394.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.4578, allocations: 28 kB / 394.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006696/0.4646, allocations: 4.099 MB / 398.4 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/0.4653, allocations: 0.5507 MB / 398.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.4661, allocations: 0.5099 MB / 399.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.4661, allocations: 4.438 kB / 399.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.4662, allocations: 42 kB / 399.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 2.545e-06/0.4662, allocations: 4 kB / 399.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.002717/0.4689, allocations: 1.639 MB / 401.1 MB, free: 5.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.469, allocations: 55.84 kB / 401.2 MB, free: 5.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.4699, allocations: 0.6999 MB / 401.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.4699, allocations: 25.7 kB / 401.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.4702, allocations: 455 kB / 402.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.4704, allocations: 173.5 kB / 402.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.4704, allocations: 3.938 kB / 402.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.4706, allocations: 378.8 kB / 402.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.471, allocations: 303.1 kB / 403.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.4715, allocations: 390.1 kB / 403.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.4719, allocations: 373.4 kB / 403.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4719, allocations: 0 / 403.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001313/0.4733, allocations: 0.8714 MB / 404.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4733, allocations: 4 kB / 404.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4733, allocations: 4 kB / 404.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.4736, allocations: 108.9 kB / 404.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.4742, allocations: 127.8 kB / 405 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.4764, allocations: 2.071 MB / 407.1 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.4768, allocations: 11.98 kB / 407.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.4769, allocations: 20 kB / 407.1 MB, free: 15.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.477, allocations: 114.7 kB / 407.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.4771, allocations: 75.22 kB / 407.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.4773, allocations: 86.84 kB / 407.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.4773, allocations: 4 kB / 407.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4774, allocations: 7.906 kB / 407.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4774, allocations: 0 / 407.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.4803, allocations: 1.845 MB / 409.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4803, allocations: 0 / 409.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.4807, allocations: 92.11 kB / 409.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.4809, allocations: 108.8 kB / 409.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.481, allocations: 11.89 kB / 409.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.483, allocations: 2.052 MB / 411.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.483, allocations: 3.938 kB / 411.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001563/0.4846, allocations: 1.262 MB / 412.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.4849, allocations: 232.1 kB / 413 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.485, allocations: 12 kB / 413 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.4854, allocations: 39.97 kB / 413.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4856, allocations: 36.31 kB / 413.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.47e-05/0.4856, allocations: 16 kB / 413.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0007468/0.4864, allocations: 0.5462 MB / 413.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008861/0.4872, allocations: 188 kB / 413.8 MB, free: 8.738 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002443/0.4875, allocations: 103.2 kB / 413.9 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.4889, allocations: 0.7859 MB / 414.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4889, allocations: 0 / 414.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006863/0.4896, allocations: 468.1 kB / 415.2 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.4903, allocations: 134.8 kB / 415.3 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.4937, allocations: 1.759 MB / 417.1 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.4949, allocations: 1.413 MB / 418.5 MB, free: 3.984 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.4949, allocations: 0 / 418.5 MB, free: 3.984 MB / 298.7 MB Notification: Performance of Templates: time 0.01666/0.5116, allocations: 8.554 MB / 427 MB, free: 11.42 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)