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.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00227/0.00227, allocations: 196.6 kB / 16.14 MB, free: 6.707 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.563/1.563, allocations: 205.1 MB / 222 MB, free: 4.762 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.001389/0.00139, allocations: 43.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3435, allocations: 46.62 MB / 324.7 MB, free: 1.91 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005976/0.3496, allocations: 4.073 MB / 328.7 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.3523, allocations: 0.9153 MB / 329.7 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.3528, allocations: 11.28 kB / 329.7 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3533, allocations: 71.59 kB / 329.7 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006787/0.354, allocations: 149.6 kB / 329.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.3545, allocations: 121.2 kB / 330 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009469/0.3554, allocations: 0.6423 MB / 330.6 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.3558, allocations: 174.5 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.3562, allocations: 240.4 kB / 331.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.3566, allocations: 280.2 kB / 331.3 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.3566, allocations: 38.47 kB / 331.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3568, allocations: 37.97 kB / 331.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3569, allocations: 117.5 kB / 331.5 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.3572, allocations: 283 kB / 331.8 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.3579, allocations: 0.6106 MB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.3579, allocations: 0 / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3579, allocations: 4 kB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3579, allocations: 1.094 kB / 332.4 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.001918/0.3599, allocations: 0.8667 MB / 333.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.758e-05/0.36, allocations: 9.719 kB / 333.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.3602, allocations: 64.19 kB / 333.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.3608, allocations: 363.8 kB / 333.7 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.3609, allocations: 37.19 kB / 333.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.361, allocations: 49.88 kB / 333.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3621, allocations: 487.5 kB / 334.3 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3621, allocations: 0 / 334.3 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.3622, allocations: 24 kB / 334.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.3622, allocations: 12 kB / 334.3 MB, free: 10.4 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.3629, allocations: 328.3 kB / 334.6 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.366, allocations: 1.697 MB / 336.3 MB, free: 8.289 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.3665, allocations: 265 kB / 336.6 MB, free: 8.012 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.3667, allocations: 141.7 kB / 336.7 MB, free: 7.867 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.3667, allocations: 7.938 kB / 336.7 MB, free: 7.859 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.3668, allocations: 42.56 kB / 336.8 MB, free: 7.809 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/0.3668, allocations: 0 / 336.8 MB, free: 7.809 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.00226/0.3691, allocations: 0.9501 MB / 337.7 MB, free: 6.781 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.3692, allocations: 81.11 kB / 337.8 MB, free: 6.684 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.3697, allocations: 381.6 kB / 338.2 MB, free: 6.301 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3697, allocations: 29.7 kB / 338.2 MB, free: 6.266 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.37, allocations: 295.5 kB / 338.5 MB, free: 5.973 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3701, allocations: 106.4 kB / 338.6 MB, free: 5.867 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.3703, allocations: 74.12 kB / 338.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3705, allocations: 354.7 kB / 339 MB, free: 5.434 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.3707, allocations: 104.8 kB / 339.1 MB, free: 5.332 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.3711, allocations: 198.5 kB / 339.3 MB, free: 5.102 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.3716, allocations: 310 kB / 339.6 MB, free: 4.762 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3716, allocations: 0 / 339.6 MB, free: 4.762 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009651/0.3726, allocations: 442.3 kB / 340 MB, free: 4.316 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.3726, allocations: 8 kB / 340 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3726, allocations: 0 / 340 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/0.3731, allocations: 85.91 kB / 340.1 MB, free: 4.219 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.3735, allocations: 79.89 kB / 340.2 MB, free: 4.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.3764, allocations: 2.853 MB / 343.1 MB, free: 1.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.3768, allocations: 23.89 kB / 343.1 MB, free: 1 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.3768, allocations: 15.98 kB / 343.1 MB, free: 0.9844 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 (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.0002846/0.3771, allocations: 169.7 kB / 343.3 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.3772, allocations: 43.53 kB / 343.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.984e-05/0.3773, allocations: 43.47 kB / 343.3 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3773, allocations: 7.984 kB / 343.4 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3773, allocations: 3.938 kB / 343.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3773, allocations: 0 / 343.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.3788, allocations: 0.9428 MB / 344.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3789, allocations: 192 / 344.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.379, allocations: 43.98 kB / 344.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002962/0.3793, allocations: 85.58 kB / 344.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.3794, allocations: 11.98 kB / 344.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.3819, allocations: 2.853 MB / 347.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3819, allocations: 0 / 347.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/0.3829, allocations: 0.6129 MB / 347.9 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3831, allocations: 120.6 kB / 348 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.3832, allocations: 15.88 kB / 348 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.3835, allocations: 27.98 kB / 348.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.3836, allocations: 27.95 kB / 348.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.3836, allocations: 12 kB / 348.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.384, allocations: 271.2 kB / 348.4 MB, free: 11.31 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.462e-06/0.384, allocations: 0 / 348.4 MB, free: 11.31 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007016/0.3847, allocations: 119.9 kB / 348.5 MB, free: 11.2 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.0001738/0.3848, allocations: 111.2 kB / 348.6 MB, free: 11.08 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.3858, allocations: 0.505 MB / 349.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3858, allocations: 4.625 kB / 349.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.3864, allocations: 389.2 kB / 349.5 MB, free: 10.14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.3871, allocations: 53.48 kB / 349.5 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.3891, allocations: 1.161 MB / 350.7 MB, free: 8.895 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3895, allocations: 0.8353 MB / 351.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.3897, allocations: 43.28 kB / 351.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.3898, allocations: 31.44 kB / 351.6 MB, free: 7.961 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3898, allocations: 0 / 351.6 MB, free: 7.961 MB / 286.1 MB Notification: Performance of Templates: time 0.009825/0.3996, allocations: 4.406 MB / 356 MB, free: 3.555 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)