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.001103/0.001103, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001072/0.001073, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005295/0.0005296, allocations: 15.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.306, allocations: 47.59 MB / 326.5 MB, free: 1.617 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008099/0.3142, allocations: 6.743 MB / 333.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.3217, allocations: 2.581 MB / 335.8 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.3241, allocations: 51.25 kB / 335.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.3263, allocations: 437.5 kB / 336.3 MB, free: 9.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003564/0.3299, allocations: 0.6373 MB / 336.9 MB, free: 9.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.3315, allocations: 287.6 kB / 337.2 MB, free: 8.898 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006038/0.3375, allocations: 3.472 MB / 340.7 MB, free: 5.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005912/0.3435, allocations: 2.356 MB / 343 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.3468, allocations: 1.191 MB / 344.2 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003775/0.3506, allocations: 1.607 MB / 345.8 MB, free: 216 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.3519, allocations: 196 kB / 346 MB, free: 20 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.3538, allocations: 367.7 kB / 346.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.3557, allocations: 0.9074 MB / 347.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.3577, allocations: 0.6602 MB / 347.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00675/0.3645, allocations: 4.953 MB / 352.9 MB, free: 9.117 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3645, allocations: 3.938 kB / 352.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3645, allocations: 0 / 352.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002416/0.3647, allocations: 0 / 352.9 MB, free: 9.113 MB / 286.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.009219/0.374, allocations: 3.198 MB / 356.1 MB, free: 5.852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.374, allocations: 12.03 kB / 356.1 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.3761, allocations: 383.8 kB / 356.5 MB, free: 5.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005446/0.3815, allocations: 1.901 MB / 358.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.3818, allocations: 217.8 kB / 358.6 MB, free: 3.289 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.383, allocations: 284 kB / 358.9 MB, free: 3.012 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.3943, allocations: 4.171 MB / 363.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.715e-05/0.3944, allocations: 0 / 363.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006625/0.3951, allocations: 120 kB / 363.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/0.3953, allocations: 141.8 kB / 363.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007629/0.403, allocations: 3.474 MB / 366.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.4237, allocations: 11 MB / 377.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.4269, allocations: 2.642 MB / 380.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/0.4295, allocations: 1.493 MB / 381.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/0.4298, allocations: 126.1 kB / 382 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.4298, allocations: 51.55 kB / 382.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.296e-06/0.4298, allocations: 0 / 382.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01034/0.4402, allocations: 5.298 MB / 387.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/0.4403, allocations: 90.42 kB / 387.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003583/0.4439, allocations: 1.898 MB / 389.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.444, allocations: 53.69 kB / 389.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.4451, allocations: 1.322 MB / 390.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.4456, allocations: 457.4 kB / 391.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.4457, allocations: 31.98 kB / 391.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4459, allocations: 369.8 kB / 391.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.4472, allocations: 0.8197 MB / 392.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.4488, allocations: 1.187 MB / 393.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.4505, allocations: 1.021 MB / 394.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.4505, allocations: 4 kB / 394.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004606/0.4551, allocations: 2.523 MB / 397.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4551, allocations: 11.95 kB / 397.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4552, allocations: 12 kB / 397.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/0.4571, allocations: 490.4 kB / 397.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.4584, allocations: 335.5 kB / 398 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/0.4639, allocations: 4.065 MB / 402 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.4653, allocations: 87.97 kB / 402.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.4655, allocations: 60 kB / 402.2 MB, free: 6.789 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002059/0.4675, allocations: 1.059 MB / 403.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006574/0.4682, allocations: 197.7 kB / 403.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.4724, allocations: 2.141 MB / 405.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/0.4725, allocations: 19.98 kB / 405.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.4725, allocations: 4 kB / 405.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4725, allocations: 3.984 kB / 405.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.4835, allocations: 5.206 MB / 410.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.4835, allocations: 0 / 410.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.4845, allocations: 235.6 kB / 411 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/0.4864, allocations: 460.8 kB / 411.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.4865, allocations: 39.92 kB / 411.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005381/0.4919, allocations: 3.963 MB / 415.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.492, allocations: 4 kB / 415.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.4973, allocations: 3.253 MB / 418.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.4985, allocations: 470.6 kB / 419.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/0.4989, allocations: 27.94 kB / 419.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.5001, allocations: 104 kB / 419.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.5003, allocations: 100.8 kB / 419.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.5004, allocations: 43.98 kB / 419.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002447/0.5029, allocations: 1.33 MB / 420.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5029, allocations: 3.938 kB / 420.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002166/0.5051, allocations: 0.5469 MB / 421.4 MB, free: 3.289 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006101/0.5057, allocations: 173.9 kB / 421.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003957/0.5096, allocations: 2.192 MB / 423.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.5097, allocations: 8.375 kB / 423.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.5118, allocations: 1.222 MB / 425 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.5147, allocations: 0.4973 MB / 425.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.5275, allocations: 6.79 MB / 432.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003026/0.5306, allocations: 2.427 MB / 434.7 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001795/0.5324, allocations: 491.4 kB / 435.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/0.533, allocations: 139.4 kB / 435.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of SimCode: time 1.743e-06/0.533, allocations: 0 / 435.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of Templates: time 0.2582/0.7912, allocations: 27.9 MB / 463.2 MB, free: 102.5 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)