Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001152/0.001152, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.469/1.469, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001496/0.001496, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3569, allocations: 46.64 MB / 325.3 MB, free: 2.074 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006879/0.3638, allocations: 4.03 MB / 329.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.367, allocations: 0.9228 MB / 330.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.3676, allocations: 12 kB / 330.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.3679, allocations: 95.05 kB / 330.4 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.3684, allocations: 177.9 kB / 330.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.3689, allocations: 144.6 kB / 330.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008615/0.3698, allocations: 0.6656 MB / 331.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.3702, allocations: 205.2 kB / 331.5 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.3706, allocations: 268.8 kB / 331.8 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.371, allocations: 287.9 kB / 332.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.3711, allocations: 55.25 kB / 332.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3713, allocations: 55.41 kB / 332.2 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.3714, allocations: 121.4 kB / 332.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.3718, allocations: 311.6 kB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009453/0.3728, allocations: 0.6259 MB / 333.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.3728, allocations: 5.031 kB / 333.3 MB, free: 12.05 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.848e-06/0.3728, allocations: 0 / 333.3 MB, free: 12.05 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.3728, allocations: 3.938 kB / 333.3 MB, free: 12.04 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.001817/0.3747, allocations: 0.8604 MB / 334.1 MB, free: 11.18 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.3747, allocations: 12.03 kB / 334.1 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.3749, allocations: 64.19 kB / 334.2 MB, free: 11.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.3755, allocations: 367.6 kB / 334.6 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.3755, allocations: 37.38 kB / 334.6 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.602e-05/0.3756, allocations: 52.38 kB / 334.6 MB, free: 10.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.3766, allocations: 479.5 kB / 335.1 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3766, allocations: 0 / 335.1 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.3766, allocations: 20 kB / 335.1 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3767, allocations: 12 kB / 335.1 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.3773, allocations: 336.3 kB / 335.5 MB, free: 9.773 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.3801, allocations: 1.693 MB / 337.2 MB, free: 7.984 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3806, allocations: 265 kB / 337.4 MB, free: 7.707 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.3809, allocations: 141.6 kB / 337.6 MB, free: 7.562 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.3809, allocations: 8 kB / 337.6 MB, free: 7.555 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.381, allocations: 42.55 kB / 337.6 MB, free: 7.504 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.381, allocations: 0 / 337.6 MB, free: 7.504 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.002106/0.3831, allocations: 0.9425 MB / 338.5 MB, free: 6.484 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.3832, allocations: 85.09 kB / 338.6 MB, free: 6.383 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.3837, allocations: 381.6 kB / 339 MB, free: 6 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3837, allocations: 33.7 kB / 339 MB, free: 5.961 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.3839, allocations: 287.5 kB / 339.3 MB, free: 5.676 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3841, allocations: 118.3 kB / 339.4 MB, free: 5.559 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.3842, allocations: 70.14 kB / 339.5 MB, free: 5.484 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3844, allocations: 354.7 kB / 339.8 MB, free: 5.129 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3846, allocations: 100.8 kB / 339.9 MB, free: 5.031 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.3849, allocations: 194.6 kB / 340.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.3855, allocations: 310 kB / 340.4 MB, free: 4.465 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3855, allocations: 7.938 kB / 340.4 MB, free: 4.457 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007988/0.3863, allocations: 446.6 kB / 340.9 MB, free: 4.008 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.3864, allocations: 8 kB / 340.9 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3864, allocations: 4 kB / 340.9 MB, free: 3.996 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.3868, allocations: 85.59 kB / 341 MB, free: 3.906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.3871, allocations: 79.89 kB / 341.1 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.3905, allocations: 3.127 MB / 344.2 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.391, allocations: 15.91 kB / 344.2 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.391, allocations: 20.06 kB / 344.2 MB, free: 400 kB / 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.3914, allocations: 165.7 kB / 344.4 MB, free: 224 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3916, allocations: 39.53 kB / 344.4 MB, free: 184 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.637e-05/0.3916, allocations: 51.45 kB / 344.5 MB, free: 132 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3917, allocations: 0 / 344.5 MB, free: 132 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.3917, allocations: 8.125 kB / 344.5 MB, free: 124 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3917, allocations: 0 / 344.5 MB, free: 124 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3932, allocations: 0.9428 MB / 345.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3932, allocations: 0 / 345.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.3934, allocations: 43.97 kB / 345.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002965/0.3937, allocations: 89.56 kB / 345.6 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.3938, allocations: 4 kB / 345.6 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.3963, allocations: 3.135 MB / 348.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3963, allocations: 0 / 348.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.3972, allocations: 0.6092 MB / 349.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3973, allocations: 120.5 kB / 349.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.3974, allocations: 11.94 kB / 349.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.3977, allocations: 31.98 kB / 349.5 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.3978, allocations: 19.97 kB / 349.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.3979, allocations: 11.98 kB / 349.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000305/0.3982, allocations: 271.2 kB / 349.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.3982, allocations: 0 / 349.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006318/0.3988, allocations: 120 kB / 349.9 MB, free: 10.33 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.399, allocations: 115.3 kB / 350 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009727/0.4, allocations: 0.509 MB / 350.5 MB, free: 9.676 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.4, allocations: 4.625 kB / 350.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.4007, allocations: 401 kB / 350.9 MB, free: 9.254 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.4013, allocations: 61.56 kB / 351 MB, free: 9.195 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.4032, allocations: 0.9604 MB / 351.9 MB, free: 8.203 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.4037, allocations: 0.8353 MB / 352.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.4039, allocations: 43.3 kB / 352.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.4039, allocations: 35.42 kB / 352.8 MB, free: 7.266 MB / 286.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4039, allocations: 0 / 352.8 MB, free: 7.266 MB / 286.1 MB Notification: Performance of Templates: time 0.009787/0.4137, allocations: 4.663 MB / 357.5 MB, free: 2.602 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)