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.00137/0.00137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001636/0.001637, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.965 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.001205/0.001205, allocations: 47.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2238, allocations: 46.63 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02951/0.2534, allocations: 28.98 MB / 353.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01719/0.2706, allocations: 7.349 MB / 361 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007823/0.2785, allocations: 211.2 kB / 361.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02697/0.3055, allocations: 12.5 MB / 373.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.3164, allocations: 2.757 MB / 376.5 MB, free: 184 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005919/0.3223, allocations: 1.766 MB / 378.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02331/0.3457, allocations: 18.47 MB / 396.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0621/0.4078, allocations: 37.36 MB / 434.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01497/0.4228, allocations: 9.002 MB / 443.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01611/0.439, allocations: 11.12 MB / 454.2 MB, free: 2.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006022/0.445, allocations: 2.102 MB / 456.3 MB, free: 20 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3476/0.7927, allocations: 2.34 MB / 458.6 MB, free: 49.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0107/0.8034, allocations: 4.859 MB / 463.5 MB, free: 49.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02401/0.8275, allocations: 10.29 MB / 473.8 MB, free: 47.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03458/0.8621, allocations: 38.89 MB / 0.5007 GB, free: 27.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.8621, allocations: 10.08 kB / 0.5007 GB, free: 27.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.8621, allocations: 0 / 0.5007 GB, free: 27.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001372/0.8635, allocations: 0 / 0.5007 GB, free: 27.48 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.06596/0.9295, allocations: 22.97 MB / 0.5231 GB, free: 9.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.9295, allocations: 8.031 kB / 0.5231 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06315/0.9927, allocations: 12.28 MB / 0.5351 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0244/1.017, allocations: 10.54 MB / 0.5454 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001639/1.019, allocations: 1.398 MB / 0.5468 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009262/1.028, allocations: 1.825 MB / 0.5485 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07848/1.107, allocations: 30.89 MB / 0.5787 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005814/1.107, allocations: 17.78 kB / 0.5787 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006976/1.114, allocations: 0.7596 MB / 0.5795 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009873/1.115, allocations: 0.9939 MB / 0.5804 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06094/1.176, allocations: 27.91 MB / 0.6077 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.364/1.54, allocations: 94.38 MB / 0.6999 GB, free: 45.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03025/1.571, allocations: 53.42 MB / 0.752 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009457/1.58, allocations: 5.923 MB / 0.7578 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03509/1.615, allocations: 16.87 MB / 0.7743 GB, free: 12.61 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.976e-05/1.615, allocations: 77.95 kB / 0.7744 GB, free: 12.53 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=439): time 5.54e-06/1.615, allocations: 0 / 0.7744 GB, free: 12.53 MB / 0.4982 GB Notification: Performance of matching and sorting (n=439): time 0.03416/1.649, allocations: 13.42 MB / 0.7875 GB, free: 15.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/1.65, allocations: 132 kB / 0.7876 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01955/1.669, allocations: 7.485 MB / 0.7949 GB, free: 7.48 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001708/1.671, allocations: 93.7 kB / 0.795 GB, free: 7.383 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.2766/1.948, allocations: 8.507 MB / 0.8033 GB, free: 195.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003719/1.951, allocations: 1.595 MB / 0.8049 GB, free: 194.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01633/1.968, allocations: 2.283 MB / 0.8071 GB, free: 194.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/1.968, allocations: 308.2 kB / 0.8074 GB, free: 194.2 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01551/1.983, allocations: 4.784 MB / 0.8121 GB, free: 194.2 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02001/2.003, allocations: 10.49 MB / 0.8223 GB, free: 186.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03124/2.035, allocations: 16.15 MB / 0.8381 GB, free: 173.8 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004099/2.035, allocations: 58.31 kB / 0.8381 GB, free: 173.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.04967/2.085, allocations: 16.16 MB / 0.8539 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005569/2.085, allocations: 97.56 kB / 0.854 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004992/2.086, allocations: 196 kB / 0.8542 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005491/2.092, allocations: 1.7 MB / 0.8558 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008635/2.1, allocations: 2.502 MB / 0.8583 GB, free: 164 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/2.113, allocations: 10.78 MB / 0.8688 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/2.123, allocations: 1.555 MB / 0.8703 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/2.126, allocations: 0.6011 MB / 0.8709 GB, free: 152.4 MB / 0.5138 GB 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.01367/2.14, allocations: 7.402 MB / 0.8781 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/2.141, allocations: 0.6248 MB / 0.8788 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/2.154, allocations: 8.258 MB / 0.8868 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007892/2.162, allocations: 6.645 MB / 0.8933 GB, free: 132.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.17e-05/2.162, allocations: 12 kB / 0.8933 GB, free: 132.9 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/2.162, allocations: 26.55 kB / 0.8933 GB, free: 132.9 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0448/2.206, allocations: 21.02 MB / 0.9139 GB, free: 114.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/2.207, allocations: 10.62 kB / 0.9139 GB, free: 114.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/2.21, allocations: 0.7645 MB / 0.9146 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004654/2.214, allocations: 1.446 MB / 0.916 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005332/2.215, allocations: 95.97 kB / 0.9161 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/2.226, allocations: 10.42 MB / 0.9263 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/2.226, allocations: 4 kB / 0.9263 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/2.242, allocations: 11.98 MB / 0.938 GB, free: 89.18 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/2.245, allocations: 1.328 MB / 0.9393 GB, free: 87.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/2.247, allocations: 76 kB / 0.9394 GB, free: 87.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/2.25, allocations: 307.6 kB / 0.9397 GB, free: 87.45 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/2.25, allocations: 291.9 kB / 0.9399 GB, free: 87.16 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/2.251, allocations: 128 kB / 0.9401 GB, free: 87.04 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007623/2.258, allocations: 4.926 MB / 0.9449 GB, free: 82.12 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.3e-07/2.258, allocations: 0 / 0.9449 GB, free: 82.12 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01152/2.27, allocations: 4.181 MB / 0.949 GB, free: 77.93 MB / 0.5138 GB 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.0008979/2.271, allocations: 289.1 kB / 0.9492 GB, free: 77.66 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01599/2.287, allocations: 11.13 MB / 0.9601 GB, free: 66.55 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/2.287, allocations: 0 / 0.9601 GB, free: 66.55 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005822/2.293, allocations: 4.026 MB / 0.964 GB, free: 62.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008344/2.301, allocations: 1.456 MB / 0.9655 GB, free: 61.05 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.279/2.58, allocations: 37.58 MB / 1.002 GB, free: 168 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02676/2.607, allocations: 11.61 MB / 1.014 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01211/2.619, allocations: 3.978 MB / 1.017 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002248/2.621, allocations: 0.499 MB / 1.018 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of SimCode: time 2.465e-06/2.621, allocations: 0 / 1.018 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1575/2.779, allocations: 96.26 MB / 1.112 GB, free: 80.9 MB / 0.5138 GB 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)