Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001445/0.001445, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01634/0.01634, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.238/2.238, allocations: 205.4 MB / 222.5 MB, free: 5.574 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.0005124/0.0005123, allocations: 12.52 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3333, allocations: 47.59 MB / 327 MB, free: 1.754 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01622/0.3496, allocations: 11.08 MB / 338.1 MB, free: 8.523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.3645, allocations: 3.742 MB / 341.9 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004564/0.3691, allocations: 59.69 kB / 341.9 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004892/0.3741, allocations: 0.7458 MB / 342.7 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008595/0.3827, allocations: 1.003 MB / 343.7 MB, free: 2.953 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.3858, allocations: 431.6 kB / 344.1 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.3965, allocations: 4.913 MB / 349 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005056/0.4017, allocations: 2.631 MB / 351.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004376/0.4061, allocations: 1.428 MB / 353.1 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004956/0.4111, allocations: 1.988 MB / 355 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001715/0.4129, allocations: 216 kB / 355.3 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.4154, allocations: 323.8 kB / 355.6 MB, free: 6.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002317/0.4177, allocations: 1.063 MB / 356.6 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004816/0.4226, allocations: 1.859 MB / 358.5 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.4328, allocations: 6.108 MB / 364.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.4329, allocations: 0 / 364.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.758e-06/0.4329, allocations: 4 kB / 364.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002764/0.4332, allocations: 0 / 364.6 MB, free: 13.87 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01336/0.4465, allocations: 3.628 MB / 368.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.19e-05/0.4467, allocations: 12.03 kB / 368.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/0.4495, allocations: 448 kB / 368.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006184/0.4557, allocations: 2.235 MB / 370.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.456, allocations: 234.1 kB / 371.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.4573, allocations: 303.9 kB / 371.4 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.4688, allocations: 4.377 MB / 375.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.469, allocations: 11.83 kB / 375.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004302/0.4694, allocations: 124 kB / 376 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.4696, allocations: 134 kB / 376.1 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.4806, allocations: 3.79 MB / 379.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03408/0.5147, allocations: 13.63 MB / 393.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005246/0.52, allocations: 2.907 MB / 396.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.5234, allocations: 1.696 MB / 398.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.5237, allocations: 134.4 kB / 398.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.5238, allocations: 55.88 kB / 398.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.707e-06/0.5238, allocations: 0 / 398.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02212/0.5459, allocations: 9.308 MB / 407.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.5461, allocations: 69.41 kB / 407.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/0.5506, allocations: 2.357 MB / 410 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004846/0.5512, allocations: 57.7 kB / 410.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.5525, allocations: 1.462 MB / 411.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000999/0.5535, allocations: 0.6046 MB / 412.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.5538, allocations: 169.6 kB / 412.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5539, allocations: 309.1 kB / 412.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.556, allocations: 1.132 MB / 413.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.5583, allocations: 1.582 MB / 415.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00468/0.563, allocations: 2.796 MB / 418.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/0.5631, allocations: 4 kB / 418.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007697/0.5708, allocations: 3.616 MB / 421.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.5709, allocations: 12 kB / 421.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.676e-05/0.5709, allocations: 15.94 kB / 421.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/0.5731, allocations: 0.8103 MB / 422.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.5755, allocations: 463.3 kB / 423 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.5878, allocations: 10.3 MB / 433.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.5903, allocations: 127.9 kB / 433.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/0.5908, allocations: 79.98 kB / 433.5 MB, free: 6.781 MB / 366.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.002638/0.5934, allocations: 1.083 MB / 434.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008959/0.5943, allocations: 249 kB / 434.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006387/0.6007, allocations: 3.32 MB / 438.2 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.6008, allocations: 16 kB / 438.2 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.6008, allocations: 8 kB / 438.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.6008, allocations: 7.969 kB / 438.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.6153, allocations: 6.911 MB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.6154, allocations: 4 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.6167, allocations: 303.8 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/0.6193, allocations: 0.9274 MB / 446.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003276/0.6197, allocations: 43.98 kB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2761/0.8959, allocations: 13.44 MB / 459.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.8959, allocations: 4.812 kB / 459.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009266/0.9052, allocations: 4.895 MB / 464.7 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/0.9071, allocations: 0.5676 MB / 465.3 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006466/0.9078, allocations: 39.5 kB / 465.3 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.9095, allocations: 137.2 kB / 465.5 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006311/0.9101, allocations: 152.5 kB / 465.6 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/0.9103, allocations: 52.3 kB / 465.7 MB, free: 105.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003408/0.9137, allocations: 1.63 MB / 467.3 MB, free: 104.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.233e-06/0.9137, allocations: 3.719 kB / 467.3 MB, free: 104.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003417/0.9171, allocations: 0.7045 MB / 468 MB, free: 104.6 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.0007548/0.9179, allocations: 204.4 kB / 468.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006431/0.9244, allocations: 3.6 MB / 471.8 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/0.9245, allocations: 0 / 471.8 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004703/0.9292, allocations: 2.519 MB / 474.3 MB, free: 101 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006572/0.9358, allocations: 0.6677 MB / 475 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.9493, allocations: 8.329 MB / 483.3 MB, free: 92.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/0.9518, allocations: 2.525 MB / 485.9 MB, free: 89.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002375/0.9542, allocations: 0.5866 MB / 486.4 MB, free: 89.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/0.9548, allocations: 151.4 kB / 486.6 MB, free: 89.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.9548, allocations: 0 / 486.6 MB, free: 89.15 MB / 382.1 MB Notification: Performance of Templates: time 0.07128/1.026, allocations: 39.9 MB / 0.5142 GB, free: 49.21 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)