Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001098/0.001098, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001175/0.001175, allocations: 168.7 kB / 15.95 MB, free: 204 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.688/1.688, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004489/0.0004489, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2474, allocations: 47.6 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00709/0.2545, allocations: 6.739 MB / 333.2 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006649/0.2612, allocations: 2.585 MB / 335.8 MB, free: 9.992 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.2624, allocations: 52.38 kB / 335.9 MB, free: 9.973 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.2635, allocations: 434.9 kB / 336.3 MB, free: 9.641 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.265, allocations: 0.6472 MB / 336.9 MB, free: 9.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.2658, allocations: 287.6 kB / 337.2 MB, free: 8.746 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003751/0.2695, allocations: 3.46 MB / 340.7 MB, free: 5.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002874/0.2724, allocations: 2.352 MB / 343 MB, free: 2.883 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.2748, allocations: 1.187 MB / 344.2 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.2774, allocations: 1.603 MB / 345.8 MB, free: 84 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003546/0.2778, allocations: 200 kB / 346 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008541/0.2786, allocations: 375.6 kB / 346.4 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008644/0.2795, allocations: 0.9113 MB / 347.3 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008176/0.2803, allocations: 0.6641 MB / 348 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004815/0.2852, allocations: 4.949 MB / 352.9 MB, free: 8.973 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2852, allocations: 3.938 kB / 352.9 MB, free: 8.969 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2852, allocations: 0 / 352.9 MB, free: 8.969 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001179/0.2853, allocations: 0 / 352.9 MB, free: 8.969 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.006434/0.2918, allocations: 3.194 MB / 356.1 MB, free: 5.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.2918, allocations: 11.97 kB / 356.1 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009369/0.2928, allocations: 391.7 kB / 356.5 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.2957, allocations: 1.893 MB / 358.4 MB, free: 3.363 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.2959, allocations: 225.8 kB / 358.6 MB, free: 3.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/0.2963, allocations: 284 kB / 358.9 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/0.3036, allocations: 4.167 MB / 363.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/0.3036, allocations: 0 / 363.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.3039, allocations: 120 kB / 363.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/0.3042, allocations: 141.9 kB / 363.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005977/0.3102, allocations: 3.482 MB / 366.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.3279, allocations: 10.99 MB / 377.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.3309, allocations: 2.646 MB / 380.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.3333, allocations: 1.493 MB / 381.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.3336, allocations: 130.1 kB / 382.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.3337, allocations: 43.56 kB / 382.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.621e-06/0.3337, allocations: 3.938 kB / 382.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009895/0.3436, allocations: 5.302 MB / 387.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.3437, allocations: 90.42 kB / 387.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003674/0.3474, allocations: 1.898 MB / 389.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.3475, allocations: 45.7 kB / 389.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009949/0.3485, allocations: 1.322 MB / 390.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/0.349, allocations: 461.4 kB / 391.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.3491, allocations: 28 kB / 391.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3492, allocations: 365.9 kB / 391.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.3506, allocations: 0.8159 MB / 392.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.3521, allocations: 1.187 MB / 393.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.3538, allocations: 1.021 MB / 394.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.3538, allocations: 4 kB / 394.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004733/0.3585, allocations: 2.53 MB / 397.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.3586, allocations: 11.95 kB / 397.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.3586, allocations: 12 kB / 397.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.3606, allocations: 482.4 kB / 397.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.3619, allocations: 343.5 kB / 398 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005785/0.3677, allocations: 4.053 MB / 402 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.3694, allocations: 83.98 kB / 402.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/0.3697, allocations: 67.92 kB / 402.2 MB, free: 6.656 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.002359/0.3721, allocations: 1.055 MB / 403.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007221/0.3728, allocations: 185.8 kB / 403.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.3768, allocations: 2.156 MB / 405.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/0.3769, allocations: 16 kB / 405.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.3769, allocations: 8 kB / 405.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.3769, allocations: 11.91 kB / 405.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009865/0.3868, allocations: 5.21 MB / 410.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.3868, allocations: 0 / 410.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009956/0.3878, allocations: 235.6 kB / 411 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.3896, allocations: 460.7 kB / 411.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.3898, allocations: 35.94 kB / 411.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005192/0.395, allocations: 3.967 MB / 415.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.395, allocations: 0 / 415.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/0.4004, allocations: 3.261 MB / 418.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.4016, allocations: 466.6 kB / 419.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005704/0.4022, allocations: 27.98 kB / 419.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.4034, allocations: 108 kB / 419.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.4037, allocations: 84.88 kB / 419.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.4038, allocations: 43.98 kB / 419.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002636/0.4065, allocations: 1.326 MB / 420.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4065, allocations: 0 / 420.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002349/0.4088, allocations: 0.5664 MB / 421.4 MB, free: 3.145 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.0006576/0.4095, allocations: 169.9 kB / 421.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.4137, allocations: 2.189 MB / 423.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.4137, allocations: 8.062 kB / 423.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.4161, allocations: 1.226 MB / 425 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/0.4194, allocations: 0.4973 MB / 425.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.4332, allocations: 6.786 MB / 432.2 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/0.4365, allocations: 2.427 MB / 434.7 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00197/0.4385, allocations: 499.3 kB / 435.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.4391, allocations: 139.4 kB / 435.3 MB, free: 5.09 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4391, allocations: 0 / 435.3 MB, free: 5.09 MB / 366.1 MB Notification: Performance of Templates: time 0.2207/0.6598, allocations: 27.9 MB / 463.2 MB, free: 101.3 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)