Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001607/0.001607, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002643/0.002643, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.486/1.486, allocations: 205.1 MB / 222 MB, free: 4.73 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.001737/0.001737, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2989, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005452/0.3044, allocations: 4.064 MB / 328.7 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.3068, allocations: 0.9111 MB / 329.6 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.3075, allocations: 8.75 kB / 329.7 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.3079, allocations: 75.69 kB / 329.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005952/0.3085, allocations: 148.5 kB / 329.9 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.309, allocations: 122.4 kB / 330 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009594/0.3099, allocations: 0.6424 MB / 330.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.3104, allocations: 185.5 kB / 330.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.3107, allocations: 240.3 kB / 331.1 MB, free: 13 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.3111, allocations: 280 kB / 331.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.3112, allocations: 38.44 kB / 331.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.979e-05/0.3113, allocations: 37.81 kB / 331.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3114, allocations: 110.3 kB / 331.5 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.3117, allocations: 283.5 kB / 331.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.3123, allocations: 0.6177 MB / 332.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3123, allocations: 4 kB / 332.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3123, allocations: 0 / 332.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.3123, allocations: 1.094 kB / 332.4 MB, free: 12.06 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.001504/0.3138, allocations: 0.8553 MB / 333.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3139, allocations: 8.781 kB / 333.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.314, allocations: 65.03 kB / 333.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.3145, allocations: 371.7 kB / 333.7 MB, free: 10.99 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.3146, allocations: 37.38 kB / 333.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.3147, allocations: 55.12 kB / 333.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.3155, allocations: 483.5 kB / 334.3 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3156, allocations: 0 / 334.3 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.3156, allocations: 20 kB / 334.3 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.3156, allocations: 12 kB / 334.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006248/0.3163, allocations: 332.3 kB / 334.6 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.3189, allocations: 1.697 MB / 336.3 MB, free: 8.293 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.3194, allocations: 265.1 kB / 336.6 MB, free: 8.016 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.3197, allocations: 141.7 kB / 336.7 MB, free: 7.871 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3197, allocations: 4 kB / 336.7 MB, free: 7.867 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3197, allocations: 42.5 kB / 336.8 MB, free: 7.816 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.3198, allocations: 0 / 336.8 MB, free: 7.816 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001917/0.3217, allocations: 0.9462 MB / 337.7 MB, free: 6.793 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3217, allocations: 81.11 kB / 337.8 MB, free: 6.695 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.3222, allocations: 389.6 kB / 338.2 MB, free: 6.305 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3223, allocations: 33.7 kB / 338.2 MB, free: 6.266 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3225, allocations: 279.5 kB / 338.5 MB, free: 5.988 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.539e-05/0.3226, allocations: 118.3 kB / 338.6 MB, free: 5.871 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3227, allocations: 74.14 kB / 338.7 MB, free: 5.793 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.3229, allocations: 350.7 kB / 339 MB, free: 5.441 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.3231, allocations: 96.83 kB / 339.1 MB, free: 5.348 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.3234, allocations: 202.5 kB / 339.3 MB, free: 5.113 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.3239, allocations: 318.5 kB / 339.6 MB, free: 4.766 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3239, allocations: 0 / 339.6 MB, free: 4.766 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007924/0.3247, allocations: 446.3 kB / 340 MB, free: 4.316 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3247, allocations: 7.984 kB / 340 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3247, allocations: 4 kB / 340.1 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.3251, allocations: 89.84 kB / 340.1 MB, free: 4.211 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.3254, allocations: 71.91 kB / 340.2 MB, free: 4.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.3281, allocations: 2.853 MB / 343.1 MB, free: 1.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.3284, allocations: 19.91 kB / 343.1 MB, free: 1.004 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.3284, allocations: 16 kB / 343.1 MB, free: 0.9883 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.0002257/0.3287, allocations: 169.7 kB / 343.3 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.3288, allocations: 39.53 kB / 343.3 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.3289, allocations: 51.45 kB / 343.4 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3289, allocations: 0 / 343.4 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.3289, allocations: 4 kB / 343.4 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3289, allocations: 3.938 kB / 343.4 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.3304, allocations: 0.9384 MB / 344.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3304, allocations: 0 / 344.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.3306, allocations: 48.16 kB / 344.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.3309, allocations: 85.58 kB / 344.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.3309, allocations: 8 kB / 344.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.3331, allocations: 2.845 MB / 347.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3332, allocations: 32 / 347.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3342, allocations: 0.6129 MB / 347.9 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3343, allocations: 120.8 kB / 348 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.3344, allocations: 11.94 kB / 348 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.3347, allocations: 35.97 kB / 348.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.3348, allocations: 19.97 kB / 348.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.3348, allocations: 12 kB / 348.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003282/0.3352, allocations: 275.2 kB / 348.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3352, allocations: 0 / 348.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000584/0.3358, allocations: 116 kB / 348.5 MB, free: 11.21 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.0001718/0.336, allocations: 111.2 kB / 348.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009176/0.3369, allocations: 0.501 MB / 349.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3369, allocations: 0.625 kB / 349.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.3375, allocations: 389.8 kB / 349.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.3381, allocations: 57.42 kB / 349.5 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.3399, allocations: 1.169 MB / 350.7 MB, free: 8.91 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.3404, allocations: 0.8392 MB / 351.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.3406, allocations: 43.28 kB / 351.6 MB, free: 8 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.3407, allocations: 27.44 kB / 351.6 MB, free: 7.977 MB / 286.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3407, allocations: 4 kB / 351.6 MB, free: 7.973 MB / 286.1 MB Notification: Performance of Templates: time 0.008662/0.3494, allocations: 4.414 MB / 356 MB, free: 3.559 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)