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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 178.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 223.3 MB, free: 5.32 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006614, allocations: 12 kB / 280.1 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3225, allocations: 47.59 MB / 327.7 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00341/0.326, allocations: 3.225 MB / 330.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3281, allocations: 0.9287 MB / 331.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.3286, allocations: 8.719 kB / 331.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.3287, allocations: 66.22 kB / 331.9 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.3293, allocations: 207.1 kB / 332.1 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.3297, allocations: 97.72 kB / 332.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.3304, allocations: 467.6 kB / 332.7 MB, free: 13.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.3307, allocations: 150.4 kB / 332.8 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.331, allocations: 223.1 kB / 333.1 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.3313, allocations: 246.6 kB / 333.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.3314, allocations: 31.88 kB / 333.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-05/0.3315, allocations: 35.59 kB / 333.4 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-05/0.3316, allocations: 93.3 kB / 333.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.3318, allocations: 128.5 kB / 333.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.3322, allocations: 472.5 kB / 334 MB, free: 12.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3322, allocations: 0 / 334 MB, free: 12.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3322, allocations: 0 / 334 MB, free: 12.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3322, allocations: 5 kB / 334 MB, free: 12.68 MB / 270.1 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.001636/0.3339, allocations: 0.7863 MB / 334.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.3339, allocations: 8.812 kB / 334.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.3341, allocations: 64.12 kB / 334.9 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.3347, allocations: 357.7 kB / 335.2 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.3348, allocations: 41.55 kB / 335.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.3349, allocations: 47.59 kB / 335.3 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.3357, allocations: 483.5 kB / 335.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3358, allocations: 0 / 335.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.3358, allocations: 20 kB / 335.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.3358, allocations: 12 kB / 335.8 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.3364, allocations: 336.3 kB / 336.2 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.3391, allocations: 1.709 MB / 337.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.3396, allocations: 265 kB / 338.1 MB, free: 8.824 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.3396, allocations: 15.98 kB / 338.1 MB, free: 8.809 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3396, allocations: 30.56 kB / 338.2 MB, free: 8.77 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.3396, allocations: 0 / 338.2 MB, free: 8.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001913/0.3416, allocations: 0.9657 MB / 339.1 MB, free: 7.727 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.3416, allocations: 85.05 kB / 339.2 MB, free: 7.625 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.342, allocations: 381.5 kB / 339.6 MB, free: 7.242 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3421, allocations: 37.7 kB / 339.6 MB, free: 7.199 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.3423, allocations: 283.5 kB / 339.9 MB, free: 6.914 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.3424, allocations: 114.4 kB / 340 MB, free: 6.801 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.3424, allocations: 11.94 kB / 340 MB, free: 6.789 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3426, allocations: 350.8 kB / 340.4 MB, free: 6.438 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3428, allocations: 104.8 kB / 340.5 MB, free: 6.336 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.3431, allocations: 198.8 kB / 340.7 MB, free: 6.105 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3433, allocations: 128.8 kB / 340.8 MB, free: 5.98 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3433, allocations: 4 kB / 340.8 MB, free: 5.977 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008215/0.3441, allocations: 460.9 kB / 341.3 MB, free: 5.516 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3442, allocations: 4 kB / 341.3 MB, free: 5.512 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.3442, allocations: 4 kB / 341.3 MB, free: 5.508 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.3446, allocations: 81.81 kB / 341.3 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.3449, allocations: 83.84 kB / 341.4 MB, free: 5.34 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.3475, allocations: 2.865 MB / 344.3 MB, free: 2.211 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.3479, allocations: 23.92 kB / 344.3 MB, free: 2.188 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.3479, allocations: 16 kB / 344.3 MB, free: 2.172 MB / 270.1 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.0002471/0.3482, allocations: 161.8 kB / 344.5 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.3483, allocations: 47.48 kB / 344.5 MB, free: 1.957 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.3484, allocations: 39.47 kB / 344.6 MB, free: 1.918 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3484, allocations: 4 kB / 344.6 MB, free: 1.914 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.3484, allocations: 0 / 344.6 MB, free: 1.914 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3484, allocations: 3.984 kB / 344.6 MB, free: 1.91 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.3498, allocations: 0.9465 MB / 345.5 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3498, allocations: 4.359 kB / 345.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.35, allocations: 51.92 kB / 345.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.3503, allocations: 93.58 kB / 345.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.3503, allocations: 7.984 kB / 345.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.3526, allocations: 2.865 MB / 348.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3526, allocations: 0 / 348.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.3536, allocations: 0.638 MB / 349.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.3537, allocations: 120.6 kB / 349.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.3538, allocations: 11.94 kB / 349.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.3542, allocations: 39.97 kB / 349.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.3542, allocations: 23.97 kB / 349.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3543, allocations: 8 kB / 349.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.3546, allocations: 271.2 kB / 349.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3546, allocations: 0 / 349.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.3553, allocations: 116 kB / 349.8 MB, free: 12.34 MB / 286.1 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.0001885/0.3555, allocations: 111.2 kB / 349.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009369/0.3564, allocations: 0.5167 MB / 350.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3565, allocations: 0 / 350.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.357, allocations: 397.7 kB / 350.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.3575, allocations: 61.52 kB / 350.8 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3594, allocations: 1.168 MB / 352 MB, free: 10 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.3598, allocations: 0.8392 MB / 352.8 MB, free: 9.137 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.36, allocations: 51.28 kB / 352.9 MB, free: 9.086 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.3601, allocations: 27.44 kB / 352.9 MB, free: 9.062 MB / 286.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3601, allocations: 0 / 352.9 MB, free: 9.062 MB / 286.1 MB Notification: Performance of Templates: time 0.008632/0.3687, allocations: 4.214 MB / 357.1 MB, free: 4.848 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: