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.009105/0.009105, allocations: 99.59 kB / 15.73 MB, free: 6.043 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.001233/0.001234, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.961/1.961, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001306/0.001306, allocations: 54.98 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1513, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01685/0.1682, allocations: 11.76 MB / 384.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.182, allocations: 3.798 MB / 388.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00418/0.1862, allocations: 63.69 kB / 388.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004352/0.1907, allocations: 0.9086 MB / 389.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006042/0.1968, allocations: 1.13 MB / 390.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.1996, allocations: 0.4993 MB / 391.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009783/0.2094, allocations: 4.261 MB / 395.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007/0.2165, allocations: 3.202 MB / 398.8 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.2222, allocations: 1.904 MB / 400.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005983/0.2282, allocations: 2.328 MB / 403 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.2305, allocations: 0.4961 MB / 403.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.2342, allocations: 0.5935 MB / 404.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002476/0.2367, allocations: 1.387 MB / 405.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007354/0.2441, allocations: 2.225 MB / 407.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.2555, allocations: 6.543 MB / 414.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-05/0.2556, allocations: 0 / 414.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.2556, allocations: 0 / 414.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003977/0.256, allocations: 3.984 kB / 414.3 MB, free: 7.969 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.0159/0.2719, allocations: 4.29 MB / 418.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.621e-05/0.272, allocations: 11.89 kB / 418.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.274, allocations: 448 kB / 419 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006815/0.2808, allocations: 2.25 MB / 421.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/0.2812, allocations: 234.2 kB / 421.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007729/0.2819, allocations: 304 kB / 421.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.2932, allocations: 4.369 MB / 426.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/0.2934, allocations: 7.906 kB / 426.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008414/0.2943, allocations: 128 kB / 426.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.2945, allocations: 134 kB / 426.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.3047, allocations: 3.775 MB / 430.2 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03561/0.3404, allocations: 13.4 MB / 443.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/0.3457, allocations: 2.88 MB / 446.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/0.3496, allocations: 1.692 MB / 448.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/0.3501, allocations: 126.4 kB / 448.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.317e-05/0.3502, allocations: 55.81 kB / 448.4 MB, free: 5.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 4.498e-06/0.3502, allocations: 0 / 448.4 MB, free: 5.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.4366/0.7868, allocations: 9.213 MB / 457.6 MB, free: 67.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.356e-05/0.7869, allocations: 72.47 kB / 457.6 MB, free: 67.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008126/0.7951, allocations: 2.356 MB / 460 MB, free: 66.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007977/0.7959, allocations: 57.45 kB / 460.1 MB, free: 66.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00252/0.7985, allocations: 1.469 MB / 461.5 MB, free: 65.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001532/0.8, allocations: 0.5991 MB / 462.1 MB, free: 65.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.8011, allocations: 370.9 kB / 462.5 MB, free: 64.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8012, allocations: 301.1 kB / 462.8 MB, free: 64.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/0.8043, allocations: 1.13 MB / 463.9 MB, free: 64.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.8073, allocations: 1.57 MB / 465.5 MB, free: 63.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005711/0.813, allocations: 2.786 MB / 468.3 MB, free: 61.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.028e-05/0.8131, allocations: 3.656 kB / 468.3 MB, free: 61.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008211/0.8213, allocations: 3.596 MB / 471.9 MB, free: 60.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.8214, allocations: 7.906 kB / 471.9 MB, free: 60.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.8215, allocations: 15.75 kB / 471.9 MB, free: 60.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/0.8238, allocations: 0.8033 MB / 472.7 MB, free: 60.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.8258, allocations: 451.2 kB / 473.1 MB, free: 60.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.8375, allocations: 11.17 MB / 484.3 MB, free: 50.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.8406, allocations: 127.6 kB / 484.4 MB, free: 50.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/0.841, allocations: 80.11 kB / 484.5 MB, free: 50.62 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.002812/0.8438, allocations: 1.088 MB / 485.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.8448, allocations: 247.3 kB / 485.8 MB, free: 49.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/0.85, allocations: 3.297 MB / 489.1 MB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.8501, allocations: 16 kB / 489.1 MB, free: 46.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.8501, allocations: 8 kB / 489.2 MB, free: 46.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.8501, allocations: 12.62 kB / 489.2 MB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.8616, allocations: 6.846 MB / 496 MB, free: 39.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.8616, allocations: 7.938 kB / 496 MB, free: 39.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.8628, allocations: 299.8 kB / 496.3 MB, free: 39.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/0.8649, allocations: 0.9314 MB / 497.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.865, allocations: 39.98 kB / 497.3 MB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/0.8762, allocations: 14.59 MB / 0.4999 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.8762, allocations: 4.031 kB / 0.4999 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008086/0.8843, allocations: 4.863 MB / 0.5046 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/0.8867, allocations: 0.5643 MB / 0.5052 GB, free: 17.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006178/0.8873, allocations: 39.98 kB / 0.5052 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.8886, allocations: 119.9 kB / 0.5053 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000502/0.8891, allocations: 163 kB / 0.5055 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.8892, allocations: 47.98 kB / 0.5055 GB, free: 17.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002124/0.8914, allocations: 1.625 MB / 0.5071 GB, free: 15.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8914, allocations: 0 / 0.5071 GB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00248/0.8939, allocations: 0.7029 MB / 0.5078 GB, free: 14.67 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.0004204/0.8943, allocations: 212.7 kB / 0.508 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004669/0.899, allocations: 3.597 MB / 0.5115 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.899, allocations: 0 / 0.5115 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.9019, allocations: 2.498 MB / 0.514 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/0.9053, allocations: 0.7254 MB / 0.5147 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.918, allocations: 6.761 MB / 0.5213 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/0.9212, allocations: 2.516 MB / 0.5237 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002747/0.924, allocations: 0.5827 MB / 0.5243 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009713/0.925, allocations: 159.4 kB / 0.5244 GB, free: 13.37 MB / 398.1 MB Notification: Performance of SimCode: time 1.793e-06/0.925, allocations: 0 / 0.5244 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Templates: time 0.07961/1.005, allocations: 40.55 MB / 0.564 GB, free: 4.801 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)