Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") [: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.001436/0.001436, allocations: 188.8 kB / 8.132 MB, free: 2.199 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.189/1.189, allocations: 194.2 MB / 202.8 MB, free: 8.719 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.00204/0.00204, allocations: 117.9 kB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.482e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08293/0.08295, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.3009, allocations: 73.91 MB / 416 MB, free: 21.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.3012, allocations: 70.61 kB / 416 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02012/0.3214, allocations: 7.741 MB / 423.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.779e-05/0.3214, allocations: 8 kB / 423.8 MB, free: 14.79 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001219/0.3227, allocations: 0.7368 MB / 424.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3227, allocations: 8.031 kB / 424.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.3229, allocations: 67.25 kB / 424.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.3235, allocations: 352.9 kB / 424.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.3235, allocations: 17.09 kB / 425 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.561e-05/0.3236, allocations: 32 kB / 425 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005522/0.3241, allocations: 272 kB / 425.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.3247, allocations: 384.3 kB / 425.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3248, allocations: 0 / 425.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.3248, allocations: 0 / 425.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3248, allocations: 12 kB / 425.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.3273, allocations: 1.626 MB / 427.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.3276, allocations: 185 kB / 427.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3277, allocations: 122.9 kB / 427.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3277, allocations: 0 / 427.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3278, allocations: 42.05 kB / 427.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.292e-06/0.3278, allocations: 0 / 427.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.00119/0.329, allocations: 0.71 MB / 428.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.329, allocations: 77.11 kB / 428.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.3293, allocations: 304.6 kB / 428.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3293, allocations: 25.7 kB / 428.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.3294, allocations: 252.3 kB / 429 MB, free: 10.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.3295, allocations: 112.1 kB / 429.1 MB, free: 10 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.3295, allocations: 0.8438 kB / 429.1 MB, free: 10 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.3295, allocations: 356.3 kB / 429.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3297, allocations: 80.75 kB / 429.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3299, allocations: 167.4 kB / 429.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.33, allocations: 104.6 kB / 429.8 MB, free: 9.387 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.33, allocations: 4 kB / 429.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006189/0.3307, allocations: 372 kB / 430.1 MB, free: 9.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3307, allocations: 8.312 kB / 430.1 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3307, allocations: 4 kB / 430.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.331, allocations: 81.62 kB / 430.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.3314, allocations: 91.3 kB / 430.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.3332, allocations: 2.727 MB / 433 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.3335, allocations: 15.97 kB / 433.1 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.3335, allocations: 15.25 kB / 433.1 MB, free: 6.086 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.657e-05/0.3336, allocations: 119.7 kB / 433.2 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.3337, allocations: 39.53 kB / 433.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/0.3338, allocations: 40.03 kB / 433.3 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3338, allocations: 6 kB / 433.3 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3338, allocations: 9.766 kB / 433.3 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3338, allocations: 4 kB / 433.3 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.3348, allocations: 0.8134 MB / 434.1 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3349, allocations: 0 / 434.1 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.3351, allocations: 55.91 kB / 434.1 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.3354, allocations: 83.3 kB / 434.2 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3354, allocations: 7.75 kB / 434.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.337, allocations: 2.724 MB / 437 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3371, allocations: 5.859 kB / 437 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006418/0.3377, allocations: 0.568 MB / 437.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.3378, allocations: 108.7 kB / 437.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3379, allocations: 3.906 kB / 437.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.3382, allocations: 31.98 kB / 437.7 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.3383, allocations: 15.84 kB / 437.7 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3383, allocations: 15.05 kB / 437.7 MB, free: 1.547 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002013/0.3385, allocations: 238 kB / 437.9 MB, free: 1.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000563/0.3391, allocations: 100 kB / 438 MB, free: 1.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.3393, allocations: 107.8 kB / 438.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006917/0.34, allocations: 456.9 kB / 438.6 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.34, allocations: 4 kB / 438.6 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.3404, allocations: 331.9 kB / 438.9 MB, free: 460 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3408, allocations: 42.61 kB / 439 MB, free: 428 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.3424, allocations: 0.6941 MB / 439.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/0.3429, allocations: 0.8689 MB / 440.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3429, allocations: 224 / 440.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of Templates: time 0.00949/0.3524, allocations: 4.011 MB / 444.5 MB, free: 10.9 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)