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.001737/0.001737, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.002141/0.002141, allocations: 177.3 kB / 15.94 MB, free: 228 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.72/1.72, 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.0004396/0.0004396, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 47.58 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007836/0.2404, allocations: 6.292 MB / 332.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005858/0.2463, allocations: 2.648 MB / 335.4 MB, free: 10.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.2477, allocations: 51.91 kB / 335.4 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.2489, allocations: 470.6 kB / 335.9 MB, free: 9.996 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.2507, allocations: 0.59 MB / 336.5 MB, free: 9.449 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.2514, allocations: 287.6 kB / 336.8 MB, free: 9.168 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.254, allocations: 2.172 MB / 338.9 MB, free: 6.988 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.2565, allocations: 2.36 MB / 341.3 MB, free: 4.594 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.2579, allocations: 1.117 MB / 342.4 MB, free: 3.473 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.2597, allocations: 1.432 MB / 343.9 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.26, allocations: 196 kB / 344 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006954/0.2607, allocations: 367.6 kB / 344.4 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007718/0.2615, allocations: 0.8803 MB / 345.3 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.2621, allocations: 0.6563 MB / 345.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.266, allocations: 4.941 MB / 350.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.266, allocations: 0 / 350.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.266, allocations: 0 / 350.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.516e-05/0.2661, allocations: 4 kB / 350.9 MB, free: 10.98 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.005728/0.2718, allocations: 3.19 MB / 354.1 MB, free: 7.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2719, allocations: 12.03 kB / 354.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000864/0.2728, allocations: 391.7 kB / 354.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.276, allocations: 1.893 MB / 356.4 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.2762, allocations: 221.8 kB / 356.6 MB, free: 5.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/0.2766, allocations: 283.9 kB / 356.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006236/0.2828, allocations: 4.144 MB / 361 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.2829, allocations: 0 / 361 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.2831, allocations: 128 kB / 361.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.2833, allocations: 141.9 kB / 361.3 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005625/0.2889, allocations: 3.466 MB / 364.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.3093, allocations: 11 MB / 375.7 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.3121, allocations: 2.658 MB / 378.4 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.3124, allocations: 118.1 kB / 378.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.3124, allocations: 51.56 kB / 378.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.346e-06/0.3125, allocations: 0 / 378.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.008746/0.3212, allocations: 5.549 MB / 384.1 MB, free: 9.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.3213, allocations: 90.42 kB / 384.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.3238, allocations: 1.902 MB / 386.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.174e-05/0.3239, allocations: 49.7 kB / 386.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/0.3248, allocations: 1.326 MB / 387.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.3251, allocations: 445.5 kB / 387.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.3252, allocations: 35.98 kB / 387.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3254, allocations: 365.9 kB / 388.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.3266, allocations: 0.8315 MB / 389.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.328, allocations: 1.186 MB / 390.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.3294, allocations: 1.029 MB / 391.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3294, allocations: 4 kB / 391.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003941/0.3334, allocations: 2.561 MB / 393.9 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3334, allocations: 8 kB / 393.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.3335, allocations: 12 kB / 393.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.3354, allocations: 0.4888 MB / 394.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.3367, allocations: 327.5 kB / 394.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005267/0.3419, allocations: 4.365 MB / 399.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.3432, allocations: 83.91 kB / 399.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.3433, allocations: 68 kB / 399.2 MB, free: 9.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (154): * Single equations (assignments): 149 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001677/0.345, allocations: 1.044 MB / 400.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.3453, allocations: 193.7 kB / 400.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.3487, allocations: 2.184 MB / 402.7 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.3487, allocations: 16 kB / 402.7 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3487, allocations: 4 kB / 402.7 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3487, allocations: 11.97 kB / 402.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007972/0.3567, allocations: 5.157 MB / 407.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3567, allocations: 0 / 407.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009976/0.3578, allocations: 231.8 kB / 408.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.3595, allocations: 472.3 kB / 408.5 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-05/0.3596, allocations: 31.98 kB / 408.6 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/0.3655, allocations: 4.304 MB / 412.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3656, allocations: 4 kB / 412.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.3708, allocations: 3.301 MB / 416.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.372, allocations: 466.7 kB / 416.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.3723, allocations: 28 kB / 416.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/0.3733, allocations: 104 kB / 416.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.3735, allocations: 96.73 kB / 416.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/0.3736, allocations: 36 kB / 416.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.3756, allocations: 1.334 MB / 418.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3756, allocations: 0 / 418.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001671/0.3773, allocations: 0.5546 MB / 418.8 MB, free: 5.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (98): * Single equations (assignments): 93 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004561/0.3777, allocations: 181.8 kB / 419 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003441/0.3812, allocations: 2.224 MB / 421.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3812, allocations: 1.938 kB / 421.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.383, allocations: 1.224 MB / 422.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.3847, allocations: 481.3 kB / 422.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008851/0.3936, allocations: 6.749 MB / 429.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/0.3956, allocations: 2.47 MB / 432.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001432/0.3971, allocations: 491.4 kB / 432.6 MB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.3975, allocations: 139.3 kB / 432.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3975, allocations: 0 / 432.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of Templates: time 0.2001/0.5976, allocations: 27.95 MB / 460.7 MB, free: 110.1 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: