Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.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.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001394, 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.002272/0.002272, allocations: 193.2 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.871/1.871, allocations: 205.1 MB / 222 MB, free: 4.754 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.001185/0.001185, allocations: 47.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3194, allocations: 46.62 MB / 324.7 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.02328/0.3428, allocations: 12.73 MB / 337.4 MB, free: 7.379 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.3585, allocations: 4.2 MB / 341.6 MB, free: 3.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005143/0.3637, allocations: 63.69 kB / 341.7 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005322/0.3691, allocations: 0.847 MB / 342.5 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008517/0.3777, allocations: 1.076 MB / 343.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.3809, allocations: 471.6 kB / 344.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.3958, allocations: 5.359 MB / 349.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.4067, allocations: 2.965 MB / 352.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.4171, allocations: 1.811 MB / 354.2 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007379/0.4245, allocations: 2.452 MB / 356.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003576/0.4281, allocations: 340 kB / 357 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.4326, allocations: 451.7 kB / 357.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00379/0.4364, allocations: 1.285 MB / 358.7 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007457/0.4439, allocations: 2.235 MB / 360.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.4561, allocations: 7.158 MB / 368.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.4561, allocations: 0 / 368.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4561, allocations: 0 / 368.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003937/0.4565, allocations: 0 / 368.1 MB, free: 8.535 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01849/0.4751, allocations: 4.687 MB / 372.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.58e-05/0.4752, allocations: 8.031 kB / 372.8 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.4777, allocations: 0.4995 MB / 373.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007564/0.4853, allocations: 2.38 MB / 375.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004415/0.4858, allocations: 263 kB / 375.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/0.4873, allocations: 359.9 kB / 376.3 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.506, allocations: 5.017 MB / 381.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.5062, allocations: 11.84 kB / 381.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005469/0.5068, allocations: 148 kB / 381.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002295/0.507, allocations: 183 kB / 381.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.5186, allocations: 4.291 MB / 385.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04111/0.5597, allocations: 14.9 MB / 400.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007096/0.5669, allocations: 4.204 MB / 405 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004994/0.572, allocations: 1.999 MB / 407 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/0.5727, allocations: 131.1 kB / 407.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.5728, allocations: 60.55 kB / 407.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 5.911e-06/0.5729, allocations: 4 kB / 407.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.03013/0.603, allocations: 10.01 MB / 417.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.6032, allocations: 81.41 kB / 417.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007834/0.611, allocations: 2.51 MB / 419.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000775/0.6119, allocations: 61.7 kB / 419.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002107/0.614, allocations: 1.615 MB / 421.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/0.6158, allocations: 0.7316 MB / 422.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/0.6175, allocations: 420.2 kB / 422.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6177, allocations: 301.1 kB / 422.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/0.6203, allocations: 1.305 MB / 424.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.6233, allocations: 1.782 MB / 426 MB, free: 13.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006081/0.6295, allocations: 3.208 MB / 429.2 MB, free: 9.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/0.6295, allocations: 11.94 kB / 429.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008652/0.6382, allocations: 4.067 MB / 433.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.6383, allocations: 8 kB / 433.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.6383, allocations: 16 kB / 433.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/0.6414, allocations: 0.8831 MB / 434.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.6437, allocations: 0.5265 MB / 434.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.6547, allocations: 8.745 MB / 443.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/0.6576, allocations: 115.9 kB / 443.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00059/0.6582, allocations: 84 kB / 443.7 MB, free: 11.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003513/0.6617, allocations: 1.215 MB / 444.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/0.6629, allocations: 280.6 kB / 445.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008018/0.6709, allocations: 3.715 MB / 448.9 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.671, allocations: 20 kB / 448.9 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-05/0.671, allocations: 11.94 kB / 448.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/0.6711, allocations: 7.969 kB / 448.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2375/0.9086, allocations: 8.086 MB / 457 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.9086, allocations: 2.156 kB / 457 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.9105, allocations: 382.2 kB / 457.4 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003478/0.914, allocations: 0.9273 MB / 458.3 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/0.9144, allocations: 58.7 kB / 458.4 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.9249, allocations: 10.18 MB / 468.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.925, allocations: 3.031 kB / 468.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008845/0.9338, allocations: 5.516 MB / 474.1 MB, free: 99.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/0.9354, allocations: 0.6298 MB / 474.7 MB, free: 99.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008778/0.9363, allocations: 49.8 kB / 474.7 MB, free: 99.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/0.9382, allocations: 124.8 kB / 474.9 MB, free: 99.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004779/0.9387, allocations: 177.3 kB / 475 MB, free: 99.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.9389, allocations: 62.86 kB / 475.1 MB, free: 99.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.9418, allocations: 1.733 MB / 476.8 MB, free: 98.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9418, allocations: 0 / 476.8 MB, free: 98.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002938/0.9447, allocations: 0.7963 MB / 477.6 MB, free: 97.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006095/0.9454, allocations: 234.3 kB / 477.9 MB, free: 97.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005265/0.9506, allocations: 3.875 MB / 481.7 MB, free: 93.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.9507, allocations: 5.031 kB / 481.7 MB, free: 93.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003092/0.9538, allocations: 2.48 MB / 484.2 MB, free: 91.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/0.958, allocations: 0.7417 MB / 485 MB, free: 90.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.9738, allocations: 9.356 MB / 494.3 MB, free: 81.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/0.9772, allocations: 2.777 MB / 497.1 MB, free: 78.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002628/0.9798, allocations: 0.6749 MB / 497.8 MB, free: 77.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000874/0.9807, allocations: 175.4 kB / 497.9 MB, free: 77.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9807, allocations: 0 / 497.9 MB, free: 77.36 MB / 382.1 MB Notification: Performance of Templates: time 0.07056/1.051, allocations: 44.57 MB / 0.5298 GB, free: 32.75 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1)