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.0008577/0.0008577, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006405/0.006405, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.556/1.556, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004625/0.0004626, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2972, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005818/0.3031, allocations: 3.668 MB / 330.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003457/0.3066, allocations: 0.899 MB / 331.6 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.3072, allocations: 11.03 kB / 331.6 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.3075, allocations: 71.22 kB / 331.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.3081, allocations: 154 kB / 331.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.3086, allocations: 117.9 kB / 331.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008032/0.3094, allocations: 0.6462 MB / 332.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003934/0.3098, allocations: 169.5 kB / 332.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.3102, allocations: 220.7 kB / 333 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.3105, allocations: 271.8 kB / 333.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.3106, allocations: 31 kB / 333.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.3107, allocations: 31.53 kB / 333.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3108, allocations: 101.4 kB / 333.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.3111, allocations: 302.2 kB / 333.7 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006339/0.3118, allocations: 0.6004 MB / 334.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3118, allocations: 0 / 334.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3118, allocations: 0 / 334.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3118, allocations: 1.125 kB / 334.3 MB, free: 11.88 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.001543/0.3134, allocations: 0.7812 MB / 335.1 MB, free: 11.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.753e-05/0.3134, allocations: 12.94 kB / 335.1 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.3136, allocations: 64.19 kB / 335.1 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.3141, allocations: 367.6 kB / 335.5 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.3142, allocations: 37.38 kB / 335.5 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/0.3143, allocations: 48.38 kB / 335.6 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008635/0.3152, allocations: 495.4 kB / 336.1 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3152, allocations: 0 / 336.1 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.3152, allocations: 23.94 kB / 336.1 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.3153, allocations: 12 kB / 336.1 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.3159, allocations: 340.3 kB / 336.4 MB, free: 9.828 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.3186, allocations: 1.713 MB / 338.2 MB, free: 8.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.3191, allocations: 277 kB / 338.4 MB, free: 7.73 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.3194, allocations: 146 kB / 338.6 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3194, allocations: 4 kB / 338.6 MB, free: 7.578 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.3195, allocations: 46.47 kB / 338.6 MB, free: 7.523 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 3.015e-06/0.3195, allocations: 0 / 338.6 MB, free: 7.523 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.002109/0.3216, allocations: 0.9655 MB / 339.6 MB, free: 6.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.3217, allocations: 85.05 kB / 339.7 MB, free: 6.379 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.3221, allocations: 385.6 kB / 340 MB, free: 5.992 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3222, allocations: 33.7 kB / 340.1 MB, free: 5.953 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3224, allocations: 283.5 kB / 340.3 MB, free: 5.672 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/0.3225, allocations: 114.4 kB / 340.5 MB, free: 5.559 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.3225, allocations: 45.69 kB / 340.5 MB, free: 5.508 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3227, allocations: 350.7 kB / 340.8 MB, free: 5.156 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.3229, allocations: 100.8 kB / 340.9 MB, free: 5.059 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.3232, allocations: 198.6 kB / 341.1 MB, free: 4.828 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.3237, allocations: 314 kB / 341.4 MB, free: 4.484 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3238, allocations: 4 kB / 341.5 MB, free: 4.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008166/0.3246, allocations: 450.3 kB / 341.9 MB, free: 4.027 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3246, allocations: 8.312 kB / 341.9 MB, free: 4.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3246, allocations: 8 kB / 341.9 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/0.325, allocations: 81.66 kB / 342 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.3253, allocations: 91.83 kB / 342.1 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.3277, allocations: 2.853 MB / 344.9 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.3281, allocations: 12.19 kB / 344.9 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.3282, allocations: 23.98 kB / 345 MB, free: 0.6836 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.000282/0.3285, allocations: 169.6 kB / 345.1 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.3286, allocations: 39.53 kB / 345.2 MB, free: 480 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.38e-05/0.3287, allocations: 51.53 kB / 345.2 MB, free: 424 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3287, allocations: 4 kB / 345.2 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3287, allocations: 0 / 345.2 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3287, allocations: 3.984 kB / 345.2 MB, free: 416 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.3301, allocations: 0.9465 MB / 346.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3301, allocations: 0 / 346.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3303, allocations: 51.91 kB / 346.2 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.3306, allocations: 81.64 kB / 346.3 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3306, allocations: 11.94 kB / 346.3 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.3329, allocations: 2.857 MB / 349.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.3329, allocations: 4.031 kB / 349.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009941/0.3339, allocations: 0.6207 MB / 349.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.3341, allocations: 128.6 kB / 349.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.3342, allocations: 7.938 kB / 349.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.3345, allocations: 31.98 kB / 350 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.3346, allocations: 23.97 kB / 350 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3347, allocations: 15.98 kB / 350 MB, free: 11.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002914/0.335, allocations: 275.1 kB / 350.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.335, allocations: 0 / 350.3 MB, free: 10.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006166/0.3356, allocations: 116 kB / 350.4 MB, free: 10.87 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.0001615/0.3358, allocations: 107.2 kB / 350.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009375/0.3367, allocations: 0.513 MB / 351 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3367, allocations: 0.625 kB / 351 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.3373, allocations: 397.2 kB / 351.4 MB, free: 9.805 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.3379, allocations: 61.47 kB / 351.4 MB, free: 9.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3397, allocations: 1.225 MB / 352.7 MB, free: 8.492 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3401, allocations: 0.8431 MB / 353.5 MB, free: 7.621 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001938/0.3403, allocations: 43.28 kB / 353.6 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.3404, allocations: 27.44 kB / 353.6 MB, free: 7.551 MB / 286.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3404, allocations: 0 / 353.6 MB, free: 7.551 MB / 286.1 MB Notification: Performance of Templates: time 0.01023/0.3507, allocations: 4.37 MB / 358 MB, free: 3.18 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)