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.006695/0.006695, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001288/0.001288, allocations: 188.7 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.00137/0.00137, allocations: 55.92 kB / 326.6 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 46.61 MB / 373.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005627/0.1274, allocations: 4.041 MB / 377.2 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2754/0.4028, allocations: 0.9103 MB / 378.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008198/0.4037, allocations: 9.578 kB / 378.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005804/0.4043, allocations: 92.89 kB / 378.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.4057, allocations: 178.9 kB / 378.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.4067, allocations: 143.2 kB / 378.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.4088, allocations: 0.6734 MB / 379.2 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.4096, allocations: 206 kB / 379.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009628/0.4106, allocations: 256.2 kB / 379.7 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009451/0.4116, allocations: 294.8 kB / 380 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.412, allocations: 55.31 kB / 380 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.4123, allocations: 59.97 kB / 380.1 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.4125, allocations: 123.8 kB / 380.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004665/0.4129, allocations: 303.6 kB / 380.5 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.4142, allocations: 0.6484 MB / 381.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4142, allocations: 3.938 kB / 381.2 MB, free: 9.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4142, allocations: 0 / 381.2 MB, free: 9.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.4142, allocations: 1.281 kB / 381.2 MB, free: 9.152 MB / 318.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.002052/0.4163, allocations: 0.8711 MB / 382 MB, free: 8.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.4164, allocations: 10.2 kB / 382 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.4166, allocations: 67.03 kB / 382.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.4173, allocations: 378.1 kB / 382.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.4174, allocations: 36.84 kB / 382.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.4175, allocations: 48.81 kB / 382.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.4187, allocations: 479.4 kB / 383 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.4188, allocations: 3.938 kB / 383 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/0.4188, allocations: 21.88 kB / 383 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.4189, allocations: 16.44 kB / 383.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.4199, allocations: 329.3 kB / 383.4 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.4237, allocations: 1.681 MB / 385.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007456/0.4245, allocations: 270.5 kB / 385.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.4249, allocations: 142 kB / 385.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.425, allocations: 9.266 kB / 385.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.425, allocations: 33.67 kB / 385.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 3.286e-06/0.425, allocations: 1.312 kB / 385.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002759/0.4278, allocations: 0.9646 MB / 386.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4279, allocations: 84.48 kB / 386.6 MB, free: 5.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.4285, allocations: 382.9 kB / 386.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.4286, allocations: 35.08 kB / 387 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.4288, allocations: 294.4 kB / 387.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.4289, allocations: 118.2 kB / 387.4 MB, free: 5.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.4291, allocations: 71.08 kB / 387.4 MB, free: 5.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4293, allocations: 352.7 kB / 387.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.4296, allocations: 109.2 kB / 387.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.43, allocations: 192.8 kB / 388.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.4307, allocations: 318.1 kB / 388.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4308, allocations: 1 kB / 388.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001227/0.432, allocations: 445.2 kB / 388.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.432, allocations: 6.469 kB / 388.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4321, allocations: 2.531 kB / 388.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.4326, allocations: 88.53 kB / 388.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.433, allocations: 79.12 kB / 389 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.4359, allocations: 3.13 MB / 392.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.4365, allocations: 20.19 kB / 392.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.4365, allocations: 12.81 kB / 392.2 MB, free: 1.176 MB / 318.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.000363/0.4369, allocations: 171.5 kB / 392.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.4371, allocations: 44.64 kB / 392.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.4372, allocations: 46.86 kB / 392.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4372, allocations: 4.125 kB / 392.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.4373, allocations: 7.234 kB / 392.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.4373, allocations: 1.219 kB / 392.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.4395, allocations: 0.9322 MB / 393.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4395, allocations: 1.594 kB / 393.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.4397, allocations: 44.38 kB / 393.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.44, allocations: 82.52 kB / 393.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.44, allocations: 8.453 kB / 393.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/0.4429, allocations: 3.134 MB / 396.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4429, allocations: 5.312 kB / 396.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.444, allocations: 0.6118 MB / 397.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.4443, allocations: 119.2 kB / 397.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.4444, allocations: 10.98 kB / 397.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.4448, allocations: 32.05 kB / 397.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4449, allocations: 28.23 kB / 397.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.4449, allocations: 12.62 kB / 397.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003986/0.4453, allocations: 270.9 kB / 397.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4453, allocations: 4 kB / 397.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007598/0.4461, allocations: 116.2 kB / 397.8 MB, free: 12.57 MB / 334.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.0001727/0.4463, allocations: 116.2 kB / 397.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.4475, allocations: 0.5108 MB / 398.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4475, allocations: 1.031 kB / 398.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006952/0.4482, allocations: 388.4 kB / 398.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.4489, allocations: 66.44 kB / 398.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.4512, allocations: 0.9536 MB / 399.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.4518, allocations: 0.8313 MB / 400.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.452, allocations: 48.78 kB / 400.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.4521, allocations: 29.33 kB / 400.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4521, allocations: 3.938 kB / 400.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of Templates: time 0.01573/0.4678, allocations: 4.75 MB / 405.5 MB, free: 9.207 MB / 334.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)