Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008245/0.008246, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001846/0.001846, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.002072/0.002072, allocations: 54.42 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1931, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.02029/0.2136, allocations: 11.76 MB / 384.9 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.2266, allocations: 3.794 MB / 388.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004853/0.2315, allocations: 63.69 kB / 388.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004841/0.2365, allocations: 0.8694 MB / 389.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008295/0.2449, allocations: 1.076 MB / 390.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.2482, allocations: 0.4993 MB / 391.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.2594, allocations: 4.265 MB / 395.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006654/0.2662, allocations: 3.202 MB / 398.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/0.2724, allocations: 1.896 MB / 400.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007299/0.2798, allocations: 2.331 MB / 402.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003142/0.2831, allocations: 0.4961 MB / 403.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004441/0.2876, allocations: 0.5896 MB / 404 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004401/0.292, allocations: 1.387 MB / 405.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009704/0.3018, allocations: 2.217 MB / 407.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.3184, allocations: 6.551 MB / 414.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.69e-05/0.3185, allocations: 4 kB / 414.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3185, allocations: 0 / 414.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004342/0.319, allocations: 4 kB / 414.2 MB, free: 8.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0233/0.3423, allocations: 4.283 MB / 418.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001061/0.3424, allocations: 15.89 kB / 418.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/0.3466, allocations: 444 kB / 418.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009563/0.3562, allocations: 2.254 MB / 421.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005932/0.3569, allocations: 230.2 kB / 421.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/0.3594, allocations: 304 kB / 421.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.3783, allocations: 4.365 MB / 426.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003805/0.3788, allocations: 15.84 kB / 426.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002148/0.3809, allocations: 128 kB / 426.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/0.3812, allocations: 130 kB / 426.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.3945, allocations: 3.771 MB / 430.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04639/0.4409, allocations: 13.39 MB / 443.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005608/0.4466, allocations: 2.891 MB / 446.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003566/0.4503, allocations: 1.688 MB / 448.1 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/0.4508, allocations: 130.4 kB / 448.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.4508, allocations: 51.88 kB / 448.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 4.959e-06/0.4509, allocations: 0 / 448.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.4733/0.9242, allocations: 9.216 MB / 457.5 MB, free: 67.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.9244, allocations: 71.25 kB / 457.5 MB, free: 67.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009001/0.9334, allocations: 2.356 MB / 459.9 MB, free: 66.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007101/0.9342, allocations: 57.14 kB / 459.9 MB, free: 66.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002087/0.9363, allocations: 1.47 MB / 461.4 MB, free: 65.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/0.9379, allocations: 0.5999 MB / 462 MB, free: 65.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.9392, allocations: 367.7 kB / 462.4 MB, free: 64.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9394, allocations: 307.5 kB / 462.7 MB, free: 64.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.9425, allocations: 1.123 MB / 463.8 MB, free: 64.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/0.9457, allocations: 1.57 MB / 465.4 MB, free: 63.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005317/0.9511, allocations: 2.789 MB / 468.2 MB, free: 61.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-05/0.9512, allocations: 4.125 kB / 468.2 MB, free: 61.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008205/0.9594, allocations: 3.589 MB / 471.8 MB, free: 60.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.9595, allocations: 11.88 kB / 471.8 MB, free: 60.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.9595, allocations: 11.91 kB / 471.8 MB, free: 60.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/0.9615, allocations: 0.8077 MB / 472.6 MB, free: 60.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.9637, allocations: 453.7 kB / 473 MB, free: 60.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009555/0.9733, allocations: 11.17 MB / 484.2 MB, free: 50.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.9764, allocations: 129 kB / 484.3 MB, free: 50.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005395/0.977, allocations: 77.97 kB / 484.4 MB, free: 50.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003353/0.9804, allocations: 1.091 MB / 485.5 MB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/0.9816, allocations: 248.7 kB / 485.7 MB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005749/0.9874, allocations: 3.295 MB / 489 MB, free: 46.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.9875, allocations: 16 kB / 489 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.9875, allocations: 8 kB / 489.1 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.9875, allocations: 11.97 kB / 489.1 MB, free: 46.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.002, allocations: 6.842 MB / 495.9 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.002, allocations: 7.938 kB / 495.9 MB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/1.004, allocations: 303.8 kB / 496.2 MB, free: 39.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/1.006, allocations: 0.9196 MB / 497.1 MB, free: 38.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002847/1.006, allocations: 46.66 kB / 497.2 MB, free: 38.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/1.018, allocations: 14.59 MB / 0.4998 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.018, allocations: 8.031 kB / 0.4998 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007898/1.026, allocations: 4.861 MB / 0.5045 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/1.028, allocations: 0.5682 MB / 0.5051 GB, free: 17.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001309/1.03, allocations: 43.98 kB / 0.5051 GB, free: 17.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.032, allocations: 115.9 kB / 0.5052 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006717/1.033, allocations: 157.7 kB / 0.5054 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.033, allocations: 47.98 kB / 0.5054 GB, free: 17.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003509/1.037, allocations: 1.633 MB / 0.507 GB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.094e-06/1.037, allocations: 0 / 0.507 GB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005638/1.042, allocations: 0.699 MB / 0.5077 GB, free: 14.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.00105/1.043, allocations: 209.4 kB / 0.5079 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0068/1.05, allocations: 3.597 MB / 0.5114 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.05, allocations: 0 / 0.5114 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003869/1.054, allocations: 2.51 MB / 0.5139 GB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005078/1.059, allocations: 0.714 MB / 0.5146 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.075, allocations: 6.753 MB / 0.5212 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003843/1.079, allocations: 2.517 MB / 0.5236 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002997/1.082, allocations: 0.5905 MB / 0.5242 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007758/1.083, allocations: 159.4 kB / 0.5243 GB, free: 13.51 MB / 398.1 MB Notification: Performance of SimCode: time 2.004e-06/1.083, allocations: 3.938 kB / 0.5243 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.08062/1.163, allocations: 40.54 MB / 0.5639 GB, free: 4.945 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)