Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001389/0.00139, allocations: 192.2 kB / 16.25 MB, free: 6.586 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.419/1.419, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.00123/0.00123, allocations: 47.94 kB / 278.2 MB, free: 12.63 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2374, allocations: 46.63 MB / 324.9 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02746/0.2649, allocations: 28.99 MB / 353.8 MB, free: 6.988 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.2808, allocations: 7.318 MB / 361.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006796/0.2876, allocations: 211.2 kB / 361.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02798/0.3156, allocations: 12.5 MB / 373.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.3295, allocations: 2.738 MB / 376.6 MB, free: 144 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006969/0.3365, allocations: 1.747 MB / 378.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0228/0.3593, allocations: 18.76 MB / 397.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07568/0.435, allocations: 51.81 MB / 448.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3376/0.7727, allocations: 10.41 MB / 459.3 MB, free: 45.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01791/0.7906, allocations: 11.66 MB / 471 MB, free: 45.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008585/0.7992, allocations: 2.974 MB / 474 MB, free: 45.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.8111, allocations: 3.228 MB / 477.2 MB, free: 45.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008295/0.8194, allocations: 5.781 MB / 483 MB, free: 44.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01927/0.8387, allocations: 11.22 MB / 494.2 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03921/0.878, allocations: 39.48 MB / 0.5212 GB, free: 7.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.878, allocations: 0 / 0.5212 GB, free: 7.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.878, allocations: 0.7812 kB / 0.5212 GB, free: 7.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001466/0.8795, allocations: 0 / 0.5212 GB, free: 7.027 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.07049/0.95, allocations: 22.97 MB / 0.5436 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.9501, allocations: 15.89 kB / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06511/1.015, allocations: 12.28 MB / 0.5556 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/1.037, allocations: 10.54 MB / 0.5659 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001535/1.039, allocations: 1.398 MB / 0.5673 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008951/1.048, allocations: 1.825 MB / 0.5691 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08027/1.128, allocations: 30.89 MB / 0.5992 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006404/1.129, allocations: 25.67 kB / 0.5993 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005957/1.135, allocations: 0.7544 MB / 0.6 GB, free: 6.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009956/1.136, allocations: 0.9841 MB / 0.601 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4268/1.563, allocations: 27.91 MB / 0.6282 GB, free: 151.6 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1408/1.703, allocations: 94.37 MB / 0.7204 GB, free: 81.98 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02869/1.732, allocations: 53.42 MB / 0.7725 GB, free: 23.66 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008603/1.741, allocations: 5.93 MB / 0.7783 GB, free: 17.73 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02523/1.766, allocations: 16.86 MB / 0.7948 GB, free: 0.5312 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.766, allocations: 81.95 kB / 0.7949 GB, free: 452 kB / 478.2 MB Notification: Performance of pre-optimization done (n=439): time 6.552e-06/1.766, allocations: 0 / 0.7949 GB, free: 452 kB / 478.2 MB Notification: Performance of matching and sorting (n=439): time 0.03354/1.8, allocations: 13.42 MB / 0.808 GB, free: 2.977 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.8, allocations: 132.4 kB / 0.8081 GB, free: 2.828 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2286/2.028, allocations: 7.487 MB / 0.8154 GB, free: 163.6 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0008557/2.029, allocations: 95.95 kB / 0.8155 GB, free: 163.6 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.004718/2.034, allocations: 8.511 MB / 0.8238 GB, free: 158 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001945/2.036, allocations: 1.593 MB / 0.8254 GB, free: 156.8 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003697/2.04, allocations: 2.28 MB / 0.8276 GB, free: 155.7 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/2.04, allocations: 306.8 kB / 0.8279 GB, free: 155.4 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006614/2.046, allocations: 4.782 MB / 0.8326 GB, free: 153.7 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/2.057, allocations: 10.49 MB / 0.8428 GB, free: 144.4 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01685/2.074, allocations: 16.15 MB / 0.8586 GB, free: 131.8 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003078/2.075, allocations: 55.91 kB / 0.8586 GB, free: 131.8 MB / 494.2 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02937/2.104, allocations: 16.17 MB / 0.8744 GB, free: 123.4 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/2.104, allocations: 92 kB / 0.8745 GB, free: 123.3 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002998/2.104, allocations: 196.9 kB / 0.8747 GB, free: 123.1 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/2.11, allocations: 1.709 MB / 0.8764 GB, free: 121.8 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008147/2.118, allocations: 2.503 MB / 0.8788 GB, free: 119.7 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/2.131, allocations: 11.52 MB / 0.8901 GB, free: 109.5 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/2.141, allocations: 1.554 MB / 0.8916 GB, free: 108 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002293/2.143, allocations: 0.6011 MB / 0.8922 GB, free: 107.4 MB / 494.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01416/2.158, allocations: 7.405 MB / 0.8994 GB, free: 101.2 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.159, allocations: 0.6287 MB / 0.9 GB, free: 100.6 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/2.171, allocations: 8.251 MB / 0.9081 GB, free: 93.22 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00789/2.179, allocations: 6.651 MB / 0.9146 GB, free: 86.55 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/2.179, allocations: 15.94 kB / 0.9146 GB, free: 86.54 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.625e-05/2.179, allocations: 19.92 kB / 0.9146 GB, free: 86.52 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03422/2.213, allocations: 21.02 MB / 0.9351 GB, free: 65.5 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/2.213, allocations: 0 / 0.9351 GB, free: 65.5 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/2.216, allocations: 0.7721 MB / 0.9359 GB, free: 64.73 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004879/2.221, allocations: 1.457 MB / 0.9373 GB, free: 63.27 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006357/2.222, allocations: 95.97 kB / 0.9374 GB, free: 63.18 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/2.233, allocations: 11.17 MB / 0.9483 GB, free: 51.89 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.234, allocations: 0 / 0.9483 GB, free: 51.89 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/2.248, allocations: 11.98 MB / 0.96 GB, free: 39.85 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003012/2.251, allocations: 1.327 MB / 0.9613 GB, free: 38.5 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/2.253, allocations: 80 kB / 0.9614 GB, free: 38.42 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/2.256, allocations: 307.6 kB / 0.9617 GB, free: 38.12 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006423/2.257, allocations: 299.9 kB / 0.9619 GB, free: 37.82 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/2.257, allocations: 120 kB / 0.9621 GB, free: 37.7 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.007246/2.264, allocations: 4.933 MB / 0.9669 GB, free: 32.79 MB / 494.2 MB Notification: Performance of sort global known variables: time 3.7e-07/2.264, allocations: 0 / 0.9669 GB, free: 32.79 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.01338/2.278, allocations: 4.177 MB / 0.971 GB, free: 28.59 MB / 494.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/2.279, allocations: 272.4 kB / 0.9712 GB, free: 28.33 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.2526/2.532, allocations: 20.59 MB / 0.9913 GB, free: 156.2 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/2.532, allocations: 3.969 kB / 0.9913 GB, free: 156.2 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.007132/2.539, allocations: 4.026 MB / 0.9953 GB, free: 155.9 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/2.55, allocations: 1.553 MB / 0.9968 GB, free: 155.4 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06373/2.614, allocations: 37.6 MB / 1.033 GB, free: 135 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0224/2.636, allocations: 11.61 MB / 1.045 GB, free: 128 MB / 494.2 MB Notification: Performance of simCode: alias equations: time 0.0122/2.649, allocations: 3.978 MB / 1.049 GB, free: 124.4 MB / 494.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002569/2.651, allocations: 0.5033 MB / 1.049 GB, free: 123.9 MB / 494.2 MB Notification: Performance of SimCode: time 8.01e-07/2.651, allocations: 4 kB / 1.049 GB, free: 123.8 MB / 494.2 MB Notification: Performance of Templates: time 0.1584/2.81, allocations: 99.57 MB / 1.146 GB, free: 24.29 MB / 494.2 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)