Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001269/0.001269, allocations: 94.56 kB / 16.65 MB, free: 6.535 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.001454/0.001453, allocations: 174.6 kB / 17.56 MB, free: 6.184 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.947/1.947, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005297/0.0005298, allocations: 16 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1375, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009491/0.1471, allocations: 7.167 MB / 335.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00844/0.1556, allocations: 2.669 MB / 338.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.1584, allocations: 59.62 kB / 338.2 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.1609, allocations: 481.5 kB / 338.7 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004442/0.1653, allocations: 0.6724 MB / 339.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.167, allocations: 391.6 kB / 339.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007616/0.1746, allocations: 3.78 MB / 343.5 MB, free: 4.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004396/0.1791, allocations: 2.785 MB / 346.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/0.1834, allocations: 1.205 MB / 347.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.1872, allocations: 1.669 MB / 349.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007232/0.188, allocations: 196 kB / 349.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.1895, allocations: 439.5 kB / 349.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000992/0.1905, allocations: 0.9189 MB / 350.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002561/0.1931, allocations: 1.622 MB / 352.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006717/0.1998, allocations: 5.719 MB / 358.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1999, allocations: 8 kB / 358.1 MB, free: 5.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.1999, allocations: 0 / 358.1 MB, free: 5.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002138/0.2001, allocations: 0 / 358.1 MB, free: 5.84 MB / 302.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.008488/0.2086, allocations: 3.151 MB / 361.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.2087, allocations: 12.03 kB / 361.2 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.2103, allocations: 388.7 kB / 361.6 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003997/0.2143, allocations: 1.96 MB / 363.6 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.2146, allocations: 217.8 kB / 363.8 MB, free: 0 / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005901/0.2152, allocations: 284 kB / 364.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008531/0.2237, allocations: 4.194 MB / 368.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.816e-05/0.2238, allocations: 8 kB / 368.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/0.2241, allocations: 120 kB / 368.4 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.2243, allocations: 137.9 kB / 368.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006538/0.2309, allocations: 3.494 MB / 372 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2693/0.5003, allocations: 11.01 MB / 383 MB, free: 44.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.5033, allocations: 2.64 MB / 385.7 MB, free: 43.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.506, allocations: 1.486 MB / 387.2 MB, free: 43.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.5063, allocations: 125.1 kB / 387.3 MB, free: 43.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.5064, allocations: 53.56 kB / 387.3 MB, free: 43.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.396e-06/0.5064, allocations: 0 / 387.3 MB, free: 43.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01154/0.5179, allocations: 5.318 MB / 392.6 MB, free: 41.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.518, allocations: 98.14 kB / 392.7 MB, free: 40.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.5211, allocations: 1.909 MB / 394.6 MB, free: 40.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.5212, allocations: 47.39 kB / 394.7 MB, free: 40.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008325/0.522, allocations: 1.321 MB / 396 MB, free: 39.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.5223, allocations: 454 kB / 396.5 MB, free: 38.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.5225, allocations: 125.9 kB / 396.6 MB, free: 38.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.5226, allocations: 301.1 kB / 396.9 MB, free: 38.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.5237, allocations: 0.8285 MB / 397.7 MB, free: 38.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.5249, allocations: 1.19 MB / 398.9 MB, free: 37.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.5274, allocations: 2.111 MB / 401 MB, free: 36.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/0.5274, allocations: 5.469 kB / 401 MB, free: 36.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003552/0.5309, allocations: 2.535 MB / 403.5 MB, free: 34.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.531, allocations: 7.906 kB / 403.6 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.531, allocations: 12.09 kB / 403.6 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.5328, allocations: 482.5 kB / 404 MB, free: 34.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.5341, allocations: 341.1 kB / 404.4 MB, free: 34.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.5385, allocations: 4.077 MB / 408.4 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.5403, allocations: 87.3 kB / 408.5 MB, free: 31.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.5404, allocations: 64.67 kB / 408.6 MB, free: 31.46 MB / 318.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.001994/0.5424, allocations: 1.046 MB / 409.6 MB, free: 30.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.5429, allocations: 193.8 kB / 409.8 MB, free: 30.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003043/0.546, allocations: 2.151 MB / 412 MB, free: 28.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.254e-05/0.546, allocations: 16 kB / 412 MB, free: 28.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.546, allocations: 8 kB / 412 MB, free: 28.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5461, allocations: 11.91 kB / 412 MB, free: 28.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007362/0.5534, allocations: 5.212 MB / 417.2 MB, free: 22.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/0.5535, allocations: 4 kB / 417.2 MB, free: 22.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/0.5544, allocations: 231.9 kB / 417.5 MB, free: 22.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.5561, allocations: 461.6 kB / 417.9 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/0.5562, allocations: 37.39 kB / 417.9 MB, free: 22.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/0.5602, allocations: 3.975 MB / 421.9 MB, free: 17.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5602, allocations: 0 / 421.9 MB, free: 17.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.5645, allocations: 3.275 MB / 425.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.5655, allocations: 458.7 kB / 425.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.5658, allocations: 42.36 kB / 425.7 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/0.5667, allocations: 104.9 kB / 425.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/0.567, allocations: 96.81 kB / 425.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.615e-05/0.5671, allocations: 41.08 kB / 425.9 MB, free: 13.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.569, allocations: 1.338 MB / 427.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.569, allocations: 1.203 kB / 427.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001908/0.5709, allocations: 0.5551 MB / 427.8 MB, free: 12.04 MB / 318.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.0005716/0.5715, allocations: 217.5 kB / 428 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003102/0.5746, allocations: 2.203 MB / 430.2 MB, free: 9.609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5746, allocations: 0 / 430.2 MB, free: 9.609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.5763, allocations: 1.228 MB / 431.5 MB, free: 8.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/0.5794, allocations: 0.4931 MB / 432 MB, free: 7.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.5897, allocations: 7.09 MB / 439 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/0.5927, allocations: 2.435 MB / 441.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002153/0.5949, allocations: 492.9 kB / 442 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.5953, allocations: 143.4 kB / 442.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of SimCode: time 1.412e-06/0.5953, allocations: 0 / 442.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of Templates: time 0.05765/0.653, allocations: 28.62 MB / 470.7 MB, free: 1.004 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)