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.001257/0.001257, allocations: 106.9 kB / 16.51 MB, free: 6.707 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.001179/0.001179, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.763/1.763, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.00123/0.00123, allocations: 44.22 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1555, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01287/0.1684, allocations: 7.669 MB / 333.6 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1787, allocations: 2.696 MB / 336.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/0.1829, allocations: 51.69 kB / 336.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.1863, allocations: 493.4 kB / 336.9 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.1913, allocations: 0.6802 MB / 337.5 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.1937, allocations: 391.6 kB / 337.9 MB, free: 8.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006327/0.2001, allocations: 3.78 MB / 341.7 MB, free: 5.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003808/0.2039, allocations: 2.812 MB / 344.5 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.2081, allocations: 1.414 MB / 345.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003957/0.2121, allocations: 1.946 MB / 347.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007648/0.2129, allocations: 292 kB / 348.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.2146, allocations: 0.5151 MB / 348.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.2157, allocations: 1.056 MB / 349.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.2181, allocations: 1.777 MB / 351.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005987/0.2241, allocations: 5.904 MB / 357.4 MB, free: 5.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.2241, allocations: 3.938 kB / 357.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2241, allocations: 4 kB / 357.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002558/0.2244, allocations: 0 / 357.4 MB, free: 5.266 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.01039/0.2348, allocations: 3.775 MB / 361.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.2349, allocations: 8.031 kB / 361.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.236, allocations: 392.6 kB / 361.6 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003284/0.2393, allocations: 1.956 MB / 363.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.2395, allocations: 229.8 kB / 363.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.2399, allocations: 283.8 kB / 364 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/0.2481, allocations: 4.179 MB / 368.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.785e-05/0.2482, allocations: 0 / 368.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.2485, allocations: 124 kB / 368.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/0.2488, allocations: 145.8 kB / 368.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006363/0.2551, allocations: 3.486 MB / 372 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2396/0.4948, allocations: 10.94 MB / 382.9 MB, free: 45.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.4979, allocations: 2.632 MB / 385.5 MB, free: 44.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.5005, allocations: 1.482 MB / 387 MB, free: 43.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.5008, allocations: 125.7 kB / 387.1 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.5009, allocations: 45.77 kB / 387.2 MB, free: 43.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.526e-06/0.5009, allocations: 0 / 387.2 MB, free: 43.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01173/0.5126, allocations: 5.291 MB / 392.5 MB, free: 41.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.5127, allocations: 94.17 kB / 392.6 MB, free: 41.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/0.516, allocations: 1.909 MB / 394.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.5162, allocations: 47.52 kB / 394.5 MB, free: 40.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009211/0.5171, allocations: 1.323 MB / 395.9 MB, free: 39.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.5174, allocations: 452.4 kB / 396.3 MB, free: 39.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/0.5179, allocations: 271.8 kB / 396.6 MB, free: 39.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.5179, allocations: 308.7 kB / 396.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009909/0.5189, allocations: 0.8186 MB / 397.7 MB, free: 38.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.5202, allocations: 1.185 MB / 398.9 MB, free: 37.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.5225, allocations: 2.091 MB / 401 MB, free: 36.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.5226, allocations: 3.969 kB / 401 MB, free: 36.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003585/0.5262, allocations: 2.53 MB / 403.5 MB, free: 35.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5262, allocations: 11.06 kB / 403.5 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.5262, allocations: 11.25 kB / 403.5 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.5279, allocations: 488 kB / 404 MB, free: 34.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5291, allocations: 328.1 kB / 404.3 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.5332, allocations: 4.065 MB / 408.4 MB, free: 31.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.5345, allocations: 83.92 kB / 408.5 MB, free: 31.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.5346, allocations: 59.98 kB / 408.5 MB, free: 31.14 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.001758/0.5364, allocations: 1.055 MB / 409.6 MB, free: 30.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.5368, allocations: 185.8 kB / 409.7 MB, free: 29.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.5398, allocations: 2.151 MB / 411.9 MB, free: 27.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/0.5398, allocations: 16 kB / 411.9 MB, free: 27.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.5398, allocations: 4.938 kB / 411.9 MB, free: 27.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5399, allocations: 11.97 kB / 411.9 MB, free: 27.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007012/0.5469, allocations: 5.189 MB / 417.1 MB, free: 22.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5469, allocations: 0 / 417.1 MB, free: 22.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008958/0.5478, allocations: 231.7 kB / 417.3 MB, free: 22.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/0.5495, allocations: 456.5 kB / 417.8 MB, free: 21.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.09e-05/0.5496, allocations: 31.89 kB / 417.8 MB, free: 21.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/0.5535, allocations: 3.965 MB / 421.8 MB, free: 17.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5535, allocations: 7.938 kB / 421.8 MB, free: 17.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/0.5577, allocations: 3.245 MB / 425 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/0.5587, allocations: 458.8 kB / 425.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.5589, allocations: 27.98 kB / 425.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009599/0.5599, allocations: 99.64 kB / 425.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.5601, allocations: 100.7 kB / 425.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.615e-05/0.5602, allocations: 39.98 kB / 425.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001729/0.562, allocations: 1.342 MB / 427.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.562, allocations: 0 / 427.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001854/0.5638, allocations: 0.5533 MB / 427.6 MB, free: 11.75 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.0005727/0.5644, allocations: 218.7 kB / 427.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.5675, allocations: 2.183 MB / 430 MB, free: 9.344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5675, allocations: 4 kB / 430 MB, free: 9.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.5692, allocations: 1.223 MB / 431.3 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.5714, allocations: 0.4894 MB / 431.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.5817, allocations: 7.047 MB / 438.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002629/0.5844, allocations: 2.428 MB / 441.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001948/0.5864, allocations: 499.3 kB / 441.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.5868, allocations: 131.4 kB / 441.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5868, allocations: 0 / 441.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Templates: time 0.05691/0.6437, allocations: 29.06 MB / 470.9 MB, free: 388 kB / 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)