Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00146/0.00146, allocations: 105 kB / 17.06 MB, free: 6.027 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.001622/0.001622, allocations: 196 kB / 18 MB, free: 5.105 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.487/1.487, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001323/0.001323, allocations: 51.94 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1182, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005435/0.1237, allocations: 4.053 MB / 378.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2967/0.4204, allocations: 0.9044 MB / 379.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.4208, allocations: 8.781 kB / 379.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.4212, allocations: 94.23 kB / 379.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.4216, allocations: 176.5 kB / 379.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.4221, allocations: 144 kB / 379.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008289/0.4229, allocations: 0.6763 MB / 380.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.4233, allocations: 203.5 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.4237, allocations: 257.6 kB / 381 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.4241, allocations: 290.6 kB / 381.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.4243, allocations: 55.41 kB / 381.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.4244, allocations: 60 kB / 381.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.4246, allocations: 128.9 kB / 381.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.425, allocations: 306.2 kB / 381.8 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.4262, allocations: 0.6369 MB / 382.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4263, allocations: 0 / 382.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.22e-06/0.4263, allocations: 0 / 382.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.4263, allocations: 5.219 kB / 382.5 MB, free: 9.547 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.001697/0.428, allocations: 0.8587 MB / 383.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4281, allocations: 9.312 kB / 383.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.4282, allocations: 64.94 kB / 383.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006417/0.4289, allocations: 369.9 kB / 383.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.4289, allocations: 41.73 kB / 383.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.429, allocations: 48.28 kB / 383.8 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.4301, allocations: 483.4 kB / 384.3 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.4301, allocations: 5.406 kB / 384.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.4302, allocations: 20.52 kB / 384.3 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.4302, allocations: 13.86 kB / 384.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.4309, allocations: 333.2 kB / 384.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.434, allocations: 1.675 MB / 386.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.4345, allocations: 261.9 kB / 386.6 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.4348, allocations: 149.5 kB / 386.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.4349, allocations: 3.219 kB / 386.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.4349, allocations: 37.42 kB / 386.8 MB, free: 6.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.515e-06/0.4349, allocations: 5 kB / 386.8 MB, free: 6.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002144/0.4371, allocations: 0.954 MB / 387.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.4372, allocations: 80.8 kB / 387.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.4377, allocations: 382.6 kB / 388.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4378, allocations: 31.98 kB / 388.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.438, allocations: 292.5 kB / 388.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.323e-05/0.4381, allocations: 109.7 kB / 388.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.4382, allocations: 75.56 kB / 388.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4383, allocations: 353.2 kB / 389.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.4386, allocations: 99.33 kB / 389.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.4389, allocations: 201.6 kB / 389.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.4394, allocations: 310.8 kB / 389.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4394, allocations: 1.125 kB / 389.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00091/0.4403, allocations: 442.9 kB / 390.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.4404, allocations: 6.625 kB / 390.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4404, allocations: 3.406 kB / 390.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.4408, allocations: 82.42 kB / 390.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.4412, allocations: 82.44 kB / 390.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.4434, allocations: 3.13 MB / 393.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.4437, allocations: 18.47 kB / 393.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.4438, allocations: 16.08 kB / 393.4 MB, free: 1.512 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.0002148/0.444, allocations: 167.6 kB / 393.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4441, allocations: 45.09 kB / 393.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/0.4442, allocations: 52.92 kB / 393.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.4442, allocations: 4.25 kB / 393.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/0.4442, allocations: 5.75 kB / 393.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4443, allocations: 2.156 kB / 393.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.4457, allocations: 0.9324 MB / 394.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4457, allocations: 1.25 kB / 394.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.4459, allocations: 46.42 kB / 394.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.4462, allocations: 85.06 kB / 394.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.4462, allocations: 8.391 kB / 394.8 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.4491, allocations: 3.124 MB / 397.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4491, allocations: 1.297 kB / 397.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.4502, allocations: 0.6144 MB / 398.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.4503, allocations: 120.6 kB / 398.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.4504, allocations: 7 kB / 398.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.4507, allocations: 36.02 kB / 398.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.4508, allocations: 23.7 kB / 398.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.4509, allocations: 8.031 kB / 398.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003759/0.4512, allocations: 271.7 kB / 399 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4512, allocations: 0 / 399 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006971/0.452, allocations: 121.3 kB / 399.1 MB, free: 12.93 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.0002008/0.4522, allocations: 115.2 kB / 399.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.4532, allocations: 0.518 MB / 399.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4533, allocations: 1.375 kB / 399.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.4539, allocations: 380 kB / 400.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.4545, allocations: 73.17 kB / 400.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.4564, allocations: 0.9433 MB / 401.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.4569, allocations: 0.8401 MB / 401.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.4571, allocations: 39.84 kB / 402 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.4572, allocations: 30.47 kB / 402 MB, free: 10.88 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4572, allocations: 4 kB / 402 MB, free: 10.87 MB / 334.1 MB Notification: Performance of Templates: time 0.01268/0.4699, allocations: 4.88 MB / 406.9 MB, free: 9.43 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)