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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001411/0.001411, allocations: 180.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.254/1.254, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.00162/0.00162, allocations: 111.5 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.000268, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0729/0.07318, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2142/0.2875, allocations: 74.73 MB / 429.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.2877, allocations: 72.25 kB / 429.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.3059, allocations: 8.033 MB / 437.9 MB, free: 8.027 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.306, allocations: 0 / 437.9 MB, free: 8.027 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.066e-05/0.306, allocations: 12 kB / 437.9 MB, free: 8.016 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.001161/0.3072, allocations: 0.7722 MB / 438.7 MB, free: 7.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3072, allocations: 8.031 kB / 438.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3073, allocations: 67.2 kB / 438.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.3077, allocations: 354.9 kB / 439.1 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3078, allocations: 39.25 kB / 439.1 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.3078, allocations: 55.73 kB / 439.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.3085, allocations: 471.7 kB / 439.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3085, allocations: 7.984 kB / 439.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.3085, allocations: 17.81 kB / 439.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3086, allocations: 12 kB / 439.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.3091, allocations: 344.9 kB / 440 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.3113, allocations: 1.707 MB / 441.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.3117, allocations: 270.1 kB / 442 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3117, allocations: 8.844 kB / 442 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.3117, allocations: 41.48 kB / 442 MB, free: 4.402 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.3117, allocations: 0 / 442 MB, free: 4.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001569/0.3133, allocations: 0.9688 MB / 443 MB, free: 3.496 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.3133, allocations: 85.09 kB / 443.1 MB, free: 3.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.3136, allocations: 336.8 kB / 443.4 MB, free: 3.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3136, allocations: 36.2 kB / 443.5 MB, free: 3.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.3137, allocations: 280 kB / 443.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.3138, allocations: 118.8 kB / 443.8 MB, free: 2.766 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.3138, allocations: 10.53 kB / 443.9 MB, free: 2.762 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.3139, allocations: 353.6 kB / 444.2 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.3141, allocations: 103.3 kB / 444.3 MB, free: 2.355 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3143, allocations: 198 kB / 444.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3145, allocations: 133.6 kB / 444.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3145, allocations: 4 kB / 444.6 MB, free: 2.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006578/0.3152, allocations: 452.7 kB / 445.1 MB, free: 1.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3152, allocations: 4 kB / 445.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3152, allocations: 4 kB / 445.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.3155, allocations: 80.5 kB / 445.2 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.3158, allocations: 88.95 kB / 445.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.3178, allocations: 2.869 MB / 448.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.3181, allocations: 16 kB / 448.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.3181, allocations: 22.12 kB / 448.2 MB, free: 14.47 MB / 330.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 () * Number of clocked 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.0002067/0.3183, allocations: 161.7 kB / 448.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.3184, allocations: 39.53 kB / 448.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.3185, allocations: 51.44 kB / 448.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3185, allocations: 4 kB / 448.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3185, allocations: 0 / 448.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3185, allocations: 3.953 kB / 448.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.3198, allocations: 0.948 MB / 449.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3199, allocations: 4 kB / 449.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.3201, allocations: 55.84 kB / 449.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.3203, allocations: 81.64 kB / 449.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3204, allocations: 5.812 kB / 449.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.3224, allocations: 2.875 MB / 452.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3224, allocations: 0 / 452.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.3233, allocations: 0.6271 MB / 453 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.3234, allocations: 116.7 kB / 453.1 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3235, allocations: 4 kB / 453.1 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.3238, allocations: 40.06 kB / 453.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.3239, allocations: 31.91 kB / 453.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3239, allocations: 13.55 kB / 453.2 MB, free: 9.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002638/0.3242, allocations: 267.2 kB / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3242, allocations: 0 / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005284/0.3247, allocations: 117.9 kB / 453.6 MB, free: 8.66 MB / 330.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 () * Number of clocked 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.0001434/0.3249, allocations: 117.1 kB / 453.7 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008377/0.3257, allocations: 0.5256 MB / 454.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3257, allocations: 0 / 454.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.3263, allocations: 395.5 kB / 454.6 MB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3267, allocations: 55.5 kB / 454.7 MB, free: 7.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3283, allocations: 1.164 MB / 455.8 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3286, allocations: 0.8431 MB / 456.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.3288, allocations: 47.28 kB / 456.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.3289, allocations: 31.42 kB / 456.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3289, allocations: 0 / 456.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of Templates: time 0.008317/0.3372, allocations: 4.236 MB / 461 MB, free: 1.219 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)