Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001066/0.001066, allocations: 103.4 kB / 15.33 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.001293/0.001293, allocations: 194 kB / 16.25 MB, free: 6.625 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.455/1.455, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001439/0.001439, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 46.63 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03029/0.2513, allocations: 28.99 MB / 353.8 MB, free: 7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.2675, allocations: 7.326 MB / 361.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006089/0.2736, allocations: 207.3 kB / 361.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02751/0.3012, allocations: 12.51 MB / 373.9 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.3171, allocations: 2.73 MB / 376.6 MB, free: 156 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007459/0.3246, allocations: 1.747 MB / 378.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02367/0.3482, allocations: 18.77 MB / 397.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08377/0.4321, allocations: 51.8 MB / 448.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3611/0.7932, allocations: 10.42 MB / 459.3 MB, free: 45.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0153/0.8086, allocations: 11.66 MB / 471 MB, free: 45.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009067/0.8176, allocations: 2.977 MB / 474 MB, free: 45.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01225/0.8299, allocations: 3.222 MB / 477.2 MB, free: 45.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01074/0.8407, allocations: 5.787 MB / 483 MB, free: 44.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01888/0.8596, allocations: 11.23 MB / 494.2 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03229/0.8919, allocations: 39.47 MB / 0.5212 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8919, allocations: 1.719 kB / 0.5212 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.8919, allocations: 0 / 0.5212 GB, free: 7.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001101/0.8931, allocations: 4 kB / 0.5212 GB, free: 7.086 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.06882/0.9619, allocations: 22.98 MB / 0.5436 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.962, allocations: 11.89 kB / 0.5436 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06776/1.03, allocations: 12.28 MB / 0.5556 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/1.052, allocations: 10.54 MB / 0.5659 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001339/1.054, allocations: 1.396 MB / 0.5673 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007279/1.061, allocations: 1.825 MB / 0.5691 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08073/1.142, allocations: 30.89 MB / 0.5992 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009794/1.143, allocations: 21.78 kB / 0.5993 GB, free: 7.789 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00776/1.151, allocations: 0.7558 MB / 0.6 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001114/1.152, allocations: 0.9879 MB / 0.601 GB, free: 6.059 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4397/1.591, allocations: 27.91 MB / 0.6282 GB, free: 151.6 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1478/1.739, allocations: 94.37 MB / 0.7204 GB, free: 82 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02962/1.769, allocations: 53.41 MB / 0.7725 GB, free: 23.7 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008082/1.777, allocations: 5.934 MB / 0.7783 GB, free: 17.77 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/1.801, allocations: 16.86 MB / 0.7948 GB, free: 0.5625 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/1.801, allocations: 77.95 kB / 0.7949 GB, free: 488 kB / 478.2 MB Notification: Performance of pre-optimization done (n=439): time 5.69e-06/1.801, allocations: 0 / 0.7949 GB, free: 488 kB / 478.2 MB Notification: Performance of matching and sorting (n=439): time 0.03331/1.834, allocations: 13.43 MB / 0.808 GB, free: 3.004 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/1.834, allocations: 124.4 kB / 0.8081 GB, free: 2.863 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2403/2.074, allocations: 7.489 MB / 0.8154 GB, free: 163.5 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0008315/2.075, allocations: 94.73 kB / 0.8155 GB, free: 163.5 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.004958/2.08, allocations: 8.51 MB / 0.8238 GB, free: 158 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001716/2.082, allocations: 1.598 MB / 0.8254 GB, free: 156.8 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003673/2.086, allocations: 2.285 MB / 0.8276 GB, free: 155.7 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 4.32e-05/2.086, allocations: 301.1 kB / 0.8279 GB, free: 155.4 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006482/2.092, allocations: 4.785 MB / 0.8326 GB, free: 153.7 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009947/2.102, allocations: 10.48 MB / 0.8428 GB, free: 144.3 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01881/2.121, allocations: 16.15 MB / 0.8586 GB, free: 131.8 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003717/2.121, allocations: 56.59 kB / 0.8586 GB, free: 131.8 MB / 494.2 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02989/2.151, allocations: 16.16 MB / 0.8744 GB, free: 123.5 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/2.152, allocations: 88 kB / 0.8745 GB, free: 123.4 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003272/2.152, allocations: 200.2 kB / 0.8747 GB, free: 123.2 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005377/2.157, allocations: 1.711 MB / 0.8763 GB, free: 121.9 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008028/2.165, allocations: 2.508 MB / 0.8788 GB, free: 119.7 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/2.178, allocations: 11.52 MB / 0.89 GB, free: 109.5 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/2.188, allocations: 1.554 MB / 0.8916 GB, free: 108.1 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/2.191, allocations: 0.6003 MB / 0.8922 GB, free: 107.5 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.01286/2.204, allocations: 7.406 MB / 0.8994 GB, free: 101.2 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/2.205, allocations: 0.6286 MB / 0.9 GB, free: 100.6 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/2.218, allocations: 8.242 MB / 0.908 GB, free: 93.29 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007733/2.225, allocations: 6.657 MB / 0.9145 GB, free: 86.61 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/2.225, allocations: 12 kB / 0.9146 GB, free: 86.6 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/2.225, allocations: 23.91 kB / 0.9146 GB, free: 86.58 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04157/2.267, allocations: 21.02 MB / 0.9351 GB, free: 65.56 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/2.267, allocations: 0 / 0.9351 GB, free: 65.56 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004497/2.272, allocations: 0.7709 MB / 0.9359 GB, free: 64.79 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006664/2.278, allocations: 1.465 MB / 0.9373 GB, free: 63.32 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/2.279, allocations: 95.17 kB / 0.9374 GB, free: 63.23 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0188/2.298, allocations: 11.17 MB / 0.9483 GB, free: 51.95 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.298, allocations: 0 / 0.9483 GB, free: 51.95 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/2.318, allocations: 11.98 MB / 0.96 GB, free: 39.91 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00348/2.321, allocations: 1.324 MB / 0.9613 GB, free: 38.56 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/2.323, allocations: 79.98 kB / 0.9614 GB, free: 38.48 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004092/2.327, allocations: 303.7 kB / 0.9616 GB, free: 38.18 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009612/2.328, allocations: 299.8 kB / 0.9619 GB, free: 37.89 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005321/2.329, allocations: 127.9 kB / 0.9621 GB, free: 37.76 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.008619/2.338, allocations: 4.926 MB / 0.9669 GB, free: 32.85 MB / 494.2 MB Notification: Performance of sort global known variables: time 3.71e-07/2.338, allocations: 0 / 0.9669 GB, free: 32.85 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.01354/2.351, allocations: 4.187 MB / 0.971 GB, free: 28.65 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.00124/2.352, allocations: 276.5 kB / 0.9712 GB, free: 28.39 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.2145/2.567, allocations: 20.6 MB / 0.9913 GB, free: 156.2 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 9.567e-06/2.567, allocations: 0 / 0.9913 GB, free: 156.2 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.005793/2.573, 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.007869/2.581, allocations: 1.552 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.05553/2.636, allocations: 37.6 MB / 1.034 GB, free: 135 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01914/2.655, allocations: 11.61 MB / 1.045 GB, free: 128 MB / 494.2 MB Notification: Performance of simCode: alias equations: time 0.01263/2.668, allocations: 3.975 MB / 1.049 GB, free: 124.4 MB / 494.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002627/2.671, allocations: 0.5033 MB / 1.049 GB, free: 123.9 MB / 494.2 MB Notification: Performance of SimCode: time 1.162e-06/2.671, allocations: 0 / 1.049 GB, free: 123.9 MB / 494.2 MB Notification: Performance of Templates: time 0.1522/2.823, allocations: 99.57 MB / 1.146 GB, free: 24.36 MB / 494.2 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)