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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001358/0.001358, allocations: 164.4 kB / 7.635 MB, free: 1.418 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.383/1.383, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001677/0.001677, allocations: 111.4 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.683e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.09895, allocations: 38.77 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3025/0.4015, allocations: 69.08 MB / 370.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.4017, allocations: 68.52 kB / 370.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02109/0.4228, allocations: 8.143 MB / 378.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4229, allocations: 0 / 378.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.4229, allocations: 16 kB / 378.3 MB, free: 8.41 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.001183/0.4241, allocations: 0.7205 MB / 379 MB, free: 7.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4242, allocations: 8.031 kB / 379 MB, free: 7.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.4243, allocations: 63.25 kB / 379.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.4249, allocations: 362.2 kB / 379.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.4249, allocations: 16 kB / 379.5 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.425, allocations: 32 kB / 379.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004792/0.4255, allocations: 278.3 kB / 379.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.4261, allocations: 378.7 kB / 380.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4261, allocations: 3.984 kB / 380.1 MB, free: 6.746 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.4262, allocations: 0 / 380.1 MB, free: 6.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.4262, allocations: 12 kB / 380.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.4288, allocations: 1.626 MB / 381.8 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.4292, allocations: 244.8 kB / 382 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.4293, allocations: 122.5 kB / 382.1 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4293, allocations: 3.984 kB / 382.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.4294, allocations: 40.38 kB / 382.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.4294, allocations: 0 / 382.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001239/0.4306, allocations: 0.709 MB / 382.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.4307, allocations: 85.05 kB / 383 MB, free: 4.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.431, allocations: 310.4 kB / 383.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.4311, allocations: 25.7 kB / 383.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.4312, allocations: 290.7 kB / 383.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.4313, allocations: 110 kB / 383.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/0.4313, allocations: 0 / 383.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4315, allocations: 346.6 kB / 384 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.4316, allocations: 79.5 kB / 384.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4318, allocations: 171.7 kB / 384.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.432, allocations: 109.5 kB / 384.4 MB, free: 2.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.432, allocations: 4 kB / 384.4 MB, free: 2.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006451/0.4326, allocations: 373.4 kB / 384.7 MB, free: 2.652 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4326, allocations: 8.312 kB / 384.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4327, allocations: 4 kB / 384.8 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.433, allocations: 83.91 kB / 384.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4333, allocations: 92.98 kB / 384.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.4354, allocations: 2.738 MB / 387.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.4357, allocations: 8 kB / 387.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4357, allocations: 19.86 kB / 387.7 MB, free: 15.66 MB / 282.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.0001075/0.4358, allocations: 120.5 kB / 387.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.4359, allocations: 43.48 kB / 387.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.436, allocations: 36.44 kB / 387.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.436, allocations: 8.062 kB / 387.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.436, allocations: 7.984 kB / 387.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.436, allocations: 3.984 kB / 387.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.4371, allocations: 0.8156 MB / 388.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4371, allocations: 8 kB / 388.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.4373, allocations: 43.61 kB / 388.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.4376, allocations: 87.27 kB / 388.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.4376, allocations: 0 / 388.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.4397, allocations: 2.738 MB / 391.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4397, allocations: 0 / 391.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.4404, allocations: 0.5616 MB / 392.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.4406, allocations: 142.1 kB / 392.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.4406, allocations: 0.5469 kB / 392.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.4409, allocations: 31.94 kB / 392.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.441, allocations: 23.58 kB / 392.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.441, allocations: 15.94 kB / 392.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.4413, allocations: 239.4 kB / 392.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4413, allocations: 224 / 392.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005673/0.4418, allocations: 108 kB / 392.7 MB, free: 10.8 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.0001544/0.442, allocations: 103.3 kB / 392.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.4427, allocations: 479.9 kB / 393.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4427, allocations: 0 / 393.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.4432, allocations: 345.3 kB / 393.6 MB, free: 9.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.4436, allocations: 42.56 kB / 393.7 MB, free: 9.934 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.4448, allocations: 0.6953 MB / 394.4 MB, free: 9.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.4453, allocations: 0.8509 MB / 395.2 MB, free: 8.379 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00018/0.4455, allocations: 39.27 kB / 395.2 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.4455, allocations: 27.44 kB / 395.3 MB, free: 8.309 MB / 282.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4455, allocations: 0 / 395.3 MB, free: 8.309 MB / 282.7 MB Notification: Performance of Templates: time 0.008338/0.4539, allocations: 3.641 MB / 398.9 MB, free: 4.676 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)