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.01345/0.01345, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.002487/0.002487, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.907/1.907, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001849/0.001849, allocations: 54.88 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01631/0.1685, allocations: 11.75 MB / 384.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1804, allocations: 3.802 MB / 388.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.1846, allocations: 63.69 kB / 388.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004795/0.1895, allocations: 0.8655 MB / 389.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.1963, allocations: 1.08 MB / 390.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.199, allocations: 0.4992 MB / 391.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008868/0.2079, allocations: 4.265 MB / 395.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007159/0.2152, allocations: 3.206 MB / 398.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005623/0.2208, allocations: 1.9 MB / 400.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005794/0.2267, allocations: 2.339 MB / 403 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002649/0.2294, allocations: 0.4961 MB / 403.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.2329, allocations: 0.5858 MB / 404 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002948/0.2359, allocations: 1.391 MB / 405.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007661/0.2436, allocations: 2.217 MB / 407.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.2553, allocations: 6.547 MB / 414.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.2554, allocations: 0 / 414.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2554, allocations: 0 / 414.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.00032/0.2557, allocations: 4 kB / 414.2 MB, free: 8.086 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.02155/0.2773, allocations: 4.29 MB / 418.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.735e-05/0.2774, allocations: 15.89 kB / 418.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004278/0.2817, allocations: 440 kB / 418.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.2922, allocations: 2.25 MB / 421.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006186/0.293, allocations: 234.2 kB / 421.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/0.2959, allocations: 307.9 kB / 421.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02452/0.3204, allocations: 4.365 MB / 426.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000337/0.3209, allocations: 15.84 kB / 426.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/0.3231, allocations: 120 kB / 426.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000333/0.3235, allocations: 130 kB / 426.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/0.3395, allocations: 3.779 MB / 430.1 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04671/0.3863, allocations: 13.39 MB / 443.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005507/0.3918, allocations: 2.891 MB / 446.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003784/0.3957, allocations: 1.684 MB / 448.1 MB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/0.3962, allocations: 130.4 kB / 448.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.263e-05/0.3963, allocations: 51.88 kB / 448.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 5.19e-06/0.3963, allocations: 0 / 448.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.3665/0.7628, allocations: 9.214 MB / 457.5 MB, free: 67.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.7629, allocations: 71.27 kB / 457.5 MB, free: 67.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005496/0.7684, allocations: 2.36 MB / 459.9 MB, free: 66.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004306/0.7688, allocations: 57.39 kB / 460 MB, free: 66.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.7701, allocations: 1.466 MB / 461.4 MB, free: 65.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000685/0.7708, allocations: 0.603 MB / 462 MB, free: 65.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007425/0.7716, allocations: 371.2 kB / 462.4 MB, free: 64.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.7717, allocations: 301.1 kB / 462.7 MB, free: 64.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.7739, allocations: 1.124 MB / 463.8 MB, free: 64.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/0.7762, allocations: 1.573 MB / 465.4 MB, free: 63.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/0.7804, allocations: 2.792 MB / 468.2 MB, free: 61.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.7805, allocations: 5.812 kB / 468.2 MB, free: 61.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006871/0.7873, allocations: 3.583 MB / 471.8 MB, free: 60.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.7874, allocations: 11.84 kB / 471.8 MB, free: 60.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.7874, allocations: 16.12 kB / 471.8 MB, free: 60.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.7893, allocations: 0.7983 MB / 472.6 MB, free: 60.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.791, allocations: 466.7 kB / 473 MB, free: 60.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009194/0.8002, allocations: 11.17 MB / 484.2 MB, free: 50.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.8029, allocations: 122.8 kB / 484.3 MB, free: 50.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.8032, allocations: 80.14 kB / 484.4 MB, free: 50.69 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.002251/0.8054, allocations: 1.088 MB / 485.5 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/0.8061, allocations: 246 kB / 485.7 MB, free: 49.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/0.8107, allocations: 3.297 MB / 489 MB, free: 46.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.8107, allocations: 16 kB / 489.1 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.8108, allocations: 8 kB / 489.1 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.8108, allocations: 9.719 kB / 489.1 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.8215, allocations: 6.851 MB / 495.9 MB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.8216, allocations: 7.938 kB / 495.9 MB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.8227, allocations: 299.8 kB / 496.2 MB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.8249, allocations: 0.9208 MB / 497.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.8251, allocations: 47.98 kB / 497.2 MB, free: 38.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.8364, allocations: 14.59 MB / 0.4998 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.8364, allocations: 4 kB / 0.4998 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007776/0.8442, allocations: 4.855 MB / 0.5045 GB, free: 18.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/0.8469, allocations: 0.5721 MB / 0.5051 GB, free: 17.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/0.8474, allocations: 35.98 kB / 0.5051 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.8487, allocations: 119.9 kB / 0.5052 GB, free: 17.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005417/0.8493, allocations: 161.7 kB / 0.5054 GB, free: 17.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.8494, allocations: 51.98 kB / 0.5054 GB, free: 17.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002704/0.8521, allocations: 1.625 MB / 0.507 GB, free: 15.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8521, allocations: 4 kB / 0.507 GB, free: 15.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003587/0.8557, allocations: 0.7006 MB / 0.5077 GB, free: 14.78 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.0005531/0.8563, allocations: 211.4 kB / 0.5079 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005193/0.8615, allocations: 3.595 MB / 0.5114 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.8615, allocations: 0 / 0.5114 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003081/0.8646, allocations: 2.507 MB / 0.5139 GB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/0.8692, allocations: 0.7089 MB / 0.5146 GB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.8828, allocations: 6.757 MB / 0.5212 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.8852, allocations: 2.512 MB / 0.5236 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002231/0.8874, allocations: 0.5827 MB / 0.5242 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.8879, allocations: 159.4 kB / 0.5243 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 1.303e-06/0.8879, allocations: 3.938 kB / 0.5243 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.08163/0.9696, allocations: 41.27 MB / 0.5646 GB, free: 4.219 MB / 430.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)