Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") [: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.001917/0.001917, 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.231/1.231, allocations: 194.2 MB / 202.8 MB, free: 8.73 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.001762/0.001762, allocations: 125 kB / 247.7 MB, free: 6.262 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.355e-06, allocations: 0 / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08384, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.3068, allocations: 80.33 MB / 422.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.3071, allocations: 78.7 kB / 422.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.06437/0.3715, allocations: 28.03 MB / 450.5 MB, free: 8.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.3715, allocations: 16 kB / 450.5 MB, free: 8.578 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002638/0.3742, allocations: 1.089 MB / 451.6 MB, free: 7.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3742, allocations: 8.875 kB / 451.6 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005602/0.3799, allocations: 0.7599 MB / 452.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.3806, allocations: 437.9 kB / 452.8 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.3807, allocations: 36 kB / 452.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.3808, allocations: 63.94 kB / 452.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002011/0.3829, allocations: 1.019 MB / 453.9 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.3846, allocations: 0.8932 MB / 454.8 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.3846, allocations: 0 / 454.8 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.3847, allocations: 0 / 454.8 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.3847, allocations: 29.59 kB / 454.8 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006516/0.3913, allocations: 4.361 MB / 459.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.3923, allocations: 0.6469 MB / 459.8 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.3927, allocations: 256.5 kB / 460.1 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3928, allocations: 97.73 kB / 460.2 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.3928, allocations: 43.22 kB / 460.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.206e-06/0.3929, allocations: 4 kB / 460.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=71): time 0.001326/0.3942, allocations: 0.5501 MB / 460.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.3943, allocations: 111.5 kB / 460.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.3946, allocations: 263.1 kB / 461.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.3946, allocations: 25.7 kB / 461.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.3948, allocations: 433.9 kB / 461.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.395, allocations: 232.4 kB / 461.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3951, allocations: 4.062 kB / 461.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3952, allocations: 358.8 kB / 462.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.3956, allocations: 214 kB / 462.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.3961, allocations: 0.526 MB / 462.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.3971, allocations: 356 kB / 463.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.3971, allocations: 8 kB / 463.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00176/0.3989, allocations: 0.8164 MB / 464.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3989, allocations: 12.03 kB / 464.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.3989, allocations: 11.98 kB / 464.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.399, allocations: 20 kB / 464.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/0.3999, allocations: 231.6 kB / 464.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.3999, allocations: 19.94 kB / 464.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.4005, allocations: 92.14 kB / 464.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/0.4006, allocations: 44 kB / 464.5 MB, free: 11.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.4008, allocations: 144.4 kB / 464.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.4009, allocations: 43.44 kB / 464.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.4024, allocations: 0.6721 MB / 465.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4024, allocations: 9.031 kB / 465.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4024, allocations: 0 / 465.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.4025, allocations: 7.984 kB / 465.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.405, allocations: 1.53 MB / 466.9 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.405, allocations: 0 / 466.9 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.4058, allocations: 147.8 kB / 467.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.4058, allocations: 8.781 kB / 467.1 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.4058, allocations: 7.984 kB / 467.1 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.4059, allocations: 4 kB / 467.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4059, allocations: 3.938 kB / 467.1 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001668/0.4075, allocations: 1.145 MB / 468.2 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4077, allocations: 117.3 kB / 468.3 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.4078, allocations: 9.406 kB / 468.3 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.4083, allocations: 23.98 kB / 468.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4084, allocations: 40.59 kB / 468.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.4084, allocations: 23.98 kB / 468.4 MB, free: 7.418 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001784/0.4086, allocations: 175.1 kB / 468.6 MB, free: 7.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009158/0.4095, allocations: 231 kB / 468.8 MB, free: 7.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002769/0.4098, allocations: 143 kB / 469 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.4109, allocations: 0.6359 MB / 469.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4109, allocations: 0 / 469.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.4114, allocations: 304.6 kB / 469.9 MB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.4118, allocations: 24.88 kB / 469.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.416, allocations: 1.51 MB / 471.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/0.4168, allocations: 1.01 MB / 472.4 MB, free: 3.328 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4168, allocations: 0 / 472.4 MB, free: 3.328 MB / 346.7 MB Notification: Performance of Templates: time 0.01331/0.4301, allocations: 6.759 MB / 479.2 MB, free: 12.59 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)