Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001475/0.001475, allocations: 195.9 kB / 16.14 MB, free: 6.672 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.971/1.971, allocations: 205.1 MB / 222 MB, free: 4.953 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.001827/0.001827, allocations: 47.94 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3247, allocations: 46.63 MB / 324.7 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01543/0.3401, allocations: 12.68 MB / 337.4 MB, free: 7.473 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.3517, allocations: 4.215 MB / 341.6 MB, free: 3.246 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/0.3557, allocations: 63.62 kB / 341.6 MB, free: 3.184 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.3599, allocations: 0.8509 MB / 342.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006287/0.3662, allocations: 1.084 MB / 343.6 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.3681, allocations: 471.6 kB / 344 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008573/0.3767, allocations: 5.347 MB / 349.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00423/0.381, allocations: 2.969 MB / 352.4 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005579/0.3866, allocations: 1.804 MB / 354.2 MB, free: 6.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00613/0.3927, allocations: 2.448 MB / 356.6 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.3945, allocations: 348 kB / 357 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.3969, allocations: 447.8 kB / 357.4 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.3988, allocations: 1.289 MB / 358.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005946/0.4047, allocations: 2.235 MB / 360.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009486/0.4143, allocations: 7.15 MB / 368.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.4143, allocations: 0 / 368.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4143, allocations: 0 / 368.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002754/0.4146, allocations: 4 kB / 368.1 MB, free: 8.617 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.01345/0.4281, allocations: 4.691 MB / 372.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.4281, allocations: 12.03 kB / 372.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.4303, allocations: 0.4917 MB / 373.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005988/0.4363, allocations: 2.38 MB / 375.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.4367, allocations: 271 kB / 375.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.4377, allocations: 355.8 kB / 376.3 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.4515, allocations: 5.021 MB / 381.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001895/0.4517, allocations: 3.906 kB / 381.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009368/0.4527, allocations: 147.9 kB / 381.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002432/0.4529, allocations: 191 kB / 381.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.4647, allocations: 4.287 MB / 385.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04143/0.5062, allocations: 14.91 MB / 400.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/0.5134, allocations: 4.188 MB / 405 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004459/0.5179, allocations: 2.002 MB / 407 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004717/0.5184, allocations: 127.6 kB / 407.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/0.5185, allocations: 60.5 kB / 407.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 4.699e-06/0.5185, allocations: 0 / 407.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02893/0.5475, allocations: 10.02 MB / 417.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.5476, allocations: 77.34 kB / 417.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007616/0.5553, allocations: 2.51 MB / 419.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007736/0.5561, allocations: 65.64 kB / 419.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/0.5582, allocations: 1.623 MB / 421.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001477/0.5597, allocations: 0.7355 MB / 422.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.5613, allocations: 416.3 kB / 422.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5615, allocations: 305.1 kB / 422.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/0.5641, allocations: 1.297 MB / 424.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/0.567, allocations: 1.779 MB / 426 MB, free: 13.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005372/0.5724, allocations: 3.215 MB / 429.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.344e-05/0.5725, allocations: 7.938 kB / 429.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008969/0.5815, allocations: 4.072 MB / 433.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.5816, allocations: 16.06 kB / 433.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-05/0.5817, allocations: 12 kB / 433.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003204/0.5849, allocations: 0.8748 MB / 434.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/0.5875, allocations: 0.5305 MB / 434.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.6008, allocations: 8.733 MB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/0.6045, allocations: 123.9 kB / 443.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006846/0.6052, allocations: 80 kB / 443.6 MB, free: 11.16 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.005184/0.6104, allocations: 1.215 MB / 444.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001908/0.6123, allocations: 276.7 kB / 445.1 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.6224, allocations: 3.715 MB / 448.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/0.6226, allocations: 20 kB / 448.9 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.729e-05/0.6226, allocations: 11.98 kB / 448.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-05/0.6227, allocations: 11.91 kB / 448.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.307/0.9297, allocations: 8.079 MB / 457 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/0.9298, allocations: 3.094 kB / 457 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/0.932, allocations: 389.5 kB / 457.3 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003722/0.9357, allocations: 0.9284 MB / 458.3 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005215/0.9363, allocations: 58.33 kB / 458.3 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/0.9504, allocations: 10.18 MB / 468.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.9505, allocations: 10.47 kB / 468.5 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.9622, allocations: 5.509 MB / 474 MB, free: 99.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003254/0.9655, allocations: 0.6351 MB / 474.7 MB, free: 99.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/0.9671, allocations: 50.03 kB / 474.7 MB, free: 99.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/0.97, allocations: 111.6 kB / 474.8 MB, free: 99.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006597/0.9707, allocations: 181.3 kB / 475 MB, free: 99.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/0.971, allocations: 60.89 kB / 475.1 MB, free: 99.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004852/0.9759, allocations: 1.732 MB / 476.8 MB, free: 98.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.9759, allocations: 0 / 476.8 MB, free: 98.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005472/0.9814, allocations: 0.7951 MB / 477.6 MB, free: 97.86 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.001194/0.9826, allocations: 244.5 kB / 477.8 MB, free: 97.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007534/0.9902, allocations: 3.873 MB / 481.7 MB, free: 93.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/0.9902, allocations: 3.156 kB / 481.7 MB, free: 93.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004728/0.995, allocations: 2.48 MB / 484.2 MB, free: 91.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007405/1.002, allocations: 0.7388 MB / 484.9 MB, free: 90.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/1.03, allocations: 9.367 MB / 494.3 MB, free: 81.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008056/1.038, allocations: 2.762 MB / 497.1 MB, free: 78.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.005885/1.044, allocations: 0.6788 MB / 497.7 MB, free: 77.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.046, allocations: 175.4 kB / 497.9 MB, free: 77.45 MB / 382.1 MB Notification: Performance of SimCode: time 4.068e-06/1.046, allocations: 0 / 497.9 MB, free: 77.45 MB / 382.1 MB Notification: Performance of Templates: time 0.118/1.164, allocations: 44.56 MB / 0.5298 GB, free: 32.84 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)