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.006154/0.006153, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.001279/0.001279, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.945/1.945, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001091/0.001091, allocations: 50.83 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1464, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01555/0.162, allocations: 11.76 MB / 384.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.1725, allocations: 3.802 MB / 388.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.1761, allocations: 55.75 kB / 388.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.1791, allocations: 0.9163 MB / 389.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.1848, allocations: 1.126 MB / 390.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1863, allocations: 499.4 kB / 391.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006937/0.1933, allocations: 4.281 MB / 395.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003967/0.1973, allocations: 3.202 MB / 398.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004001/0.2013, allocations: 1.9 MB / 400.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004796/0.2061, allocations: 2.328 MB / 403 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009553/0.2071, allocations: 0.4961 MB / 403.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2087, allocations: 0.5858 MB / 404.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.2102, allocations: 1.403 MB / 405.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.2135, allocations: 2.213 MB / 407.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009185/0.2227, allocations: 6.547 MB / 414.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.2227, allocations: 0 / 414.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.2227, allocations: 0 / 414.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002488/0.223, allocations: 0 / 414.3 MB, free: 7.98 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.01276/0.2358, allocations: 4.294 MB / 418.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/0.2359, allocations: 15.89 kB / 418.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.2371, allocations: 444 kB / 419 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/0.2418, allocations: 2.254 MB / 421.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.242, allocations: 234.1 kB / 421.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/0.2424, allocations: 300 kB / 421.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008532/0.251, allocations: 4.369 MB / 426.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/0.2511, allocations: 7.906 kB / 426.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003041/0.2514, allocations: 128 kB / 426.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.2516, allocations: 130 kB / 426.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006688/0.2582, allocations: 3.771 MB / 430.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.2829, allocations: 13.39 MB / 443.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.2869, allocations: 2.899 MB / 446.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/0.2898, allocations: 1.684 MB / 448.2 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.2901, allocations: 130.4 kB / 448.3 MB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.569e-05/0.2902, allocations: 55.88 kB / 448.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 4.088e-06/0.2902, allocations: 0 / 448.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.4146/0.7048, allocations: 9.215 MB / 457.6 MB, free: 67.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.705, allocations: 73.53 kB / 457.6 MB, free: 67.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006668/0.7117, allocations: 2.357 MB / 460 MB, free: 66.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000687/0.7124, allocations: 58.23 kB / 460.1 MB, free: 66.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001821/0.7142, allocations: 1.464 MB / 461.5 MB, free: 65.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.7154, allocations: 0.6012 MB / 462.1 MB, free: 65.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009015/0.7163, allocations: 369.5 kB / 462.5 MB, free: 64.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7164, allocations: 301.9 kB / 462.8 MB, free: 64.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/0.719, allocations: 1.127 MB / 463.9 MB, free: 64.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.7218, allocations: 1.57 MB / 465.5 MB, free: 63.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005143/0.7269, allocations: 2.788 MB / 468.3 MB, free: 61.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.727, allocations: 6.578 kB / 468.3 MB, free: 61.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007535/0.7345, allocations: 3.596 MB / 471.9 MB, free: 60.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.7346, allocations: 11.84 kB / 471.9 MB, free: 60.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.7346, allocations: 12.47 kB / 471.9 MB, free: 60.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.7365, allocations: 0.8008 MB / 472.7 MB, free: 60.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.7384, allocations: 460.2 kB / 473.1 MB, free: 60.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009988/0.7484, allocations: 11.15 MB / 484.3 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/0.7515, allocations: 132 kB / 484.4 MB, free: 50.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/0.7518, allocations: 80.33 kB / 484.5 MB, free: 50.61 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.002983/0.7548, allocations: 1.091 MB / 485.6 MB, free: 49.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009984/0.7558, allocations: 243.8 kB / 485.8 MB, free: 49.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005364/0.7612, allocations: 3.293 MB / 489.1 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.7612, allocations: 24 kB / 489.2 MB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.7613, allocations: 4.875 kB / 489.2 MB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.7613, allocations: 11.95 kB / 489.2 MB, free: 46.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.7738, allocations: 6.847 MB / 496 MB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.7738, allocations: 8 kB / 496 MB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.775, allocations: 295.5 kB / 496.3 MB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/0.7772, allocations: 0.9261 MB / 497.2 MB, free: 38.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.7774, allocations: 39.98 kB / 497.3 MB, free: 38.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.7892, allocations: 14.59 MB / 0.4999 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.7893, allocations: 7.969 kB / 0.4999 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007591/0.7969, allocations: 4.863 MB / 0.5046 GB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/0.7989, allocations: 0.5721 MB / 0.5052 GB, free: 17.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005267/0.7994, allocations: 36 kB / 0.5052 GB, free: 17.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.8009, allocations: 123.9 kB / 0.5053 GB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006092/0.8015, allocations: 153.7 kB / 0.5055 GB, free: 17.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.8017, allocations: 47.98 kB / 0.5055 GB, free: 17.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003154/0.8048, allocations: 1.629 MB / 0.5071 GB, free: 15.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8048, allocations: 4 kB / 0.5071 GB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004709/0.8095, allocations: 0.7084 MB / 0.5078 GB, free: 14.73 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.0006887/0.8103, allocations: 200.6 kB / 0.508 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00591/0.8162, allocations: 3.596 MB / 0.5115 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.8162, allocations: 0 / 0.5115 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003947/0.8202, allocations: 2.502 MB / 0.514 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004781/0.825, allocations: 0.7204 MB / 0.5147 GB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.8389, allocations: 6.753 MB / 0.5213 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/0.8418, allocations: 2.516 MB / 0.5237 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002441/0.8443, allocations: 0.5944 MB / 0.5243 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/0.8449, allocations: 159.4 kB / 0.5245 GB, free: 13.42 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/0.8449, allocations: 0 / 0.5245 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Templates: time 0.08834/0.9333, allocations: 40.54 MB / 0.564 GB, free: 4.871 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)