Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009093/0.009093, allocations: 104.5 kB / 15.74 MB, free: 6.441 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.001652/0.001652, allocations: 190.2 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001237/0.001237, allocations: 49.52 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1162, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009245/0.1255, allocations: 7.709 MB / 380.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006208/0.1318, allocations: 2.734 MB / 383.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.1332, allocations: 55.69 kB / 383.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.1346, allocations: 0.582 MB / 384.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.1365, allocations: 0.7497 MB / 385 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009661/0.1375, allocations: 439.4 kB / 385.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.1411, allocations: 3.409 MB / 388.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00353/0.1446, allocations: 3.437 MB / 392.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.1478, allocations: 1.663 MB / 393.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003451/0.1512, allocations: 2.016 MB / 396 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007281/0.152, allocations: 460 kB / 396.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.1533, allocations: 0.6714 MB / 397.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.1544, allocations: 1.239 MB / 398.3 MB, free: 8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.1567, allocations: 1.964 MB / 400.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00646/0.1632, allocations: 6.091 MB / 406.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1632, allocations: 4 kB / 406.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1632, allocations: 4 kB / 406.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001826/0.1634, allocations: 0 / 406.4 MB, free: 15.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009895/0.1733, allocations: 3.783 MB / 410.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.1734, allocations: 8.031 kB / 410.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1745, allocations: 388.7 kB / 410.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.178, allocations: 1.967 MB / 412.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.1781, allocations: 229.8 kB / 412.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/0.1786, allocations: 288 kB / 413 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007506/0.1861, allocations: 4.179 MB / 417.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/0.1862, allocations: 0 / 417.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002793/0.1865, allocations: 120 kB / 417.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/0.1866, allocations: 137.9 kB / 417.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006303/0.193, allocations: 3.486 MB / 420.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.213, allocations: 10.79 MB / 431.7 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.2161, allocations: 2.638 MB / 434.4 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.2186, allocations: 1.497 MB / 435.9 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.2189, allocations: 122.1 kB / 436 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.2189, allocations: 47.56 kB / 436 MB, free: 1.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.2189, allocations: 0 / 436 MB, free: 1.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01013/0.2291, allocations: 5.286 MB / 441.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.2292, allocations: 90.42 kB / 441.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.2324, allocations: 1.913 MB / 443.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.2326, allocations: 45.7 kB / 443.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.2336, allocations: 1.33 MB / 444.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.2341, allocations: 453.4 kB / 445.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.2345, allocations: 271.3 kB / 445.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2347, allocations: 309.1 kB / 445.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.2359, allocations: 0.812 MB / 446.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.2374, allocations: 1.195 MB / 447.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/0.2403, allocations: 2.083 MB / 449.8 MB, free: 3.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.2403, allocations: 4 kB / 449.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004672/0.245, allocations: 2.53 MB / 452.3 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.2451, allocations: 19.89 kB / 452.4 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.2451, allocations: 8 kB / 452.4 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.2467, allocations: 426.5 kB / 452.8 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.2481, allocations: 335.5 kB / 453.1 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3636/0.6117, allocations: 4.399 MB / 457.5 MB, free: 66.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.6139, allocations: 87.53 kB / 457.6 MB, free: 66.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.6141, allocations: 61.83 kB / 457.6 MB, free: 66.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002479/0.6166, allocations: 1.047 MB / 458.7 MB, free: 65.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007175/0.6173, allocations: 196 kB / 458.9 MB, free: 65.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.6219, allocations: 2.143 MB / 461 MB, free: 64.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-05/0.622, allocations: 17.64 kB / 461 MB, free: 64.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.622, allocations: 3.281 kB / 461.1 MB, free: 64.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.622, allocations: 7.266 kB / 461.1 MB, free: 64.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009956/0.632, allocations: 5.177 MB / 466.2 MB, free: 62.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.632, allocations: 2.219 kB / 466.2 MB, free: 62.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009945/0.633, allocations: 228.1 kB / 466.5 MB, free: 62.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.6344, allocations: 402.2 kB / 466.9 MB, free: 62.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.492e-05/0.6345, allocations: 29.94 kB / 466.9 MB, free: 62.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/0.6394, allocations: 4.298 MB / 471.2 MB, free: 59.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.6395, allocations: 1.5 kB / 471.2 MB, free: 59.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.6443, allocations: 3.256 MB / 474.4 MB, free: 58.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009755/0.6453, allocations: 457.2 kB / 474.9 MB, free: 58.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.6455, allocations: 35.86 kB / 474.9 MB, free: 58.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/0.6465, allocations: 90.66 kB / 475 MB, free: 58.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.6468, allocations: 91.83 kB / 475.1 MB, free: 58.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/0.6469, allocations: 44.11 kB / 475.1 MB, free: 58.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002008/0.6489, allocations: 1.332 MB / 476.5 MB, free: 57.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6489, allocations: 2.531 kB / 476.5 MB, free: 57.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001935/0.6508, allocations: 0.5593 MB / 477 MB, free: 57.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005812/0.6514, allocations: 226.9 kB / 477.3 MB, free: 57.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.6546, allocations: 2.192 MB / 479.4 MB, free: 56.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6547, allocations: 0 / 479.4 MB, free: 56.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.6564, allocations: 1.228 MB / 480.7 MB, free: 55.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.6587, allocations: 0.5067 MB / 481.2 MB, free: 54.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009619/0.6683, allocations: 5.706 MB / 486.9 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.6702, allocations: 2.427 MB / 489.3 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001651/0.6719, allocations: 497.8 kB / 489.8 MB, free: 46.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.6723, allocations: 131.4 kB / 489.9 MB, free: 45.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.462e-06/0.6723, allocations: 0 / 489.9 MB, free: 45.89 MB / 382.1 MB Notification: Performance of Templates: time 0.04824/0.7205, allocations: 30.74 MB / 0.5085 GB, free: 15.12 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)