Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003005/0.003005, allocations: 181 kB / 7.45 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.176/1.176, allocations: 170.6 MB / 178.4 MB, free: 15.36 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.00173/0.00173, allocations: 119.8 kB / 217.7 MB, free: 8.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.844e-06/7.875e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09707/0.09709, allocations: 38.77 MB / 300.5 MB, free: 3.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.4097, allocations: 69.02 MB / 369.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.41, allocations: 67.28 kB / 369.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.02381/0.4338, allocations: 7.929 MB / 377.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.786e-05/0.434, allocations: 11.98 kB / 377.5 MB, free: 8.789 MB / 266.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.002149/0.4361, allocations: 0.7408 MB / 378.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.4362, allocations: 8.031 kB / 378.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.4365, allocations: 63.25 kB / 378.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.4374, allocations: 355 kB / 378.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.4374, allocations: 20 kB / 378.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/0.4375, allocations: 28 kB / 378.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007639/0.4383, allocations: 273 kB / 379 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/0.4392, allocations: 386.8 kB / 379.4 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.4393, allocations: 3.984 kB / 379.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.4393, allocations: 224 / 379.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.4394, allocations: 12 kB / 379.4 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.4428, allocations: 1.633 MB / 381 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.4432, allocations: 184.8 kB / 381.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4434, allocations: 129.8 kB / 381.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4434, allocations: 3.984 kB / 381.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.4435, allocations: 37.69 kB / 381.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.405e-06/0.4435, allocations: 0 / 381.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001737/0.4452, allocations: 0.7108 MB / 382.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.4453, allocations: 85.05 kB / 382.2 MB, free: 4.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.4457, allocations: 307.1 kB / 382.5 MB, free: 4.316 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.4458, allocations: 25.7 kB / 382.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.446, allocations: 257.3 kB / 382.7 MB, free: 4.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4461, allocations: 107.4 kB / 382.8 MB, free: 3.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.4461, allocations: 0 / 382.8 MB, free: 3.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4463, allocations: 348.4 kB / 383.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.4465, allocations: 82 kB / 383.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.4467, allocations: 163.5 kB / 383.4 MB, free: 3.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.4469, allocations: 109.3 kB / 383.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4469, allocations: 0 / 383.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007709/0.4477, allocations: 380.8 kB / 383.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4477, allocations: 12.06 kB / 383.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4477, allocations: 0 / 383.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.4482, allocations: 85.16 kB / 384 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.4486, allocations: 83.14 kB / 384.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.4514, allocations: 2.731 MB / 386.8 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.4517, allocations: 19.47 kB / 386.8 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.4518, allocations: 12 kB / 386.8 MB, free: 28 kB / 266.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 0.0002086/0.452, allocations: 115.4 kB / 387 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.4521, allocations: 39.53 kB / 387 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.4522, allocations: 45.92 kB / 387 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.4522, allocations: 7.984 kB / 387 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4522, allocations: 8 kB / 387.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4522, allocations: 0 / 387.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.4536, allocations: 0.8138 MB / 387.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.4536, allocations: 7.938 kB / 387.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.4539, allocations: 48.16 kB / 387.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/0.4542, allocations: 84.14 kB / 388 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.4542, allocations: 4 kB / 388 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.4567, allocations: 2.716 MB / 390.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.4567, allocations: 7.906 kB / 390.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008331/0.4575, allocations: 0.5622 MB / 391.3 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.4577, allocations: 139.2 kB / 391.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.4578, allocations: 7.906 kB / 391.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.4582, allocations: 31.97 kB / 391.5 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.4582, allocations: 15.97 kB / 391.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.4583, allocations: 19.61 kB / 391.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0002819/0.4586, allocations: 238.6 kB / 391.7 MB, free: 11.28 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007536/0.4593, allocations: 104 kB / 391.8 MB, free: 11.18 MB / 282.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.0002548/0.4596, allocations: 107.4 kB / 391.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008666/0.4605, allocations: 449.3 kB / 392.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4605, allocations: 0 / 392.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005696/0.4611, allocations: 338.8 kB / 392.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.4615, allocations: 42.55 kB / 392.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.4633, allocations: 0.6926 MB / 393.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006439/0.4639, allocations: 0.8808 MB / 394.3 MB, free: 8.746 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4639, allocations: 0 / 394.3 MB, free: 8.746 MB / 282.7 MB Notification: Performance of Templates: time 0.009846/0.4738, allocations: 3.998 MB / 398.3 MB, free: 4.754 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)