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.008675/0.008676, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001739/0.001739, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.004/2.004, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.001368/0.001368, allocations: 49.94 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1503, allocations: 46.64 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.01609/0.1664, allocations: 11.76 MB / 385 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.1789, allocations: 3.798 MB / 388.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004644/0.1836, allocations: 63.69 kB / 388.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004745/0.1884, allocations: 0.9046 MB / 389.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.1952, allocations: 1.13 MB / 390.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.1979, allocations: 0.4915 MB / 391.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00863/0.2066, allocations: 4.261 MB / 395.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005368/0.212, allocations: 3.213 MB / 398.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/0.2176, allocations: 1.9 MB / 400.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005737/0.2234, allocations: 2.327 MB / 403 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002283/0.2257, allocations: 0.5 MB / 403.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.2288, allocations: 0.5858 MB / 404.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002293/0.2311, allocations: 1.391 MB / 405.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007384/0.2385, allocations: 2.209 MB / 407.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.2508, allocations: 6.579 MB / 414.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.2509, allocations: 0 / 414.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.2509, allocations: 0 / 414.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003968/0.2513, allocations: 0 / 414.3 MB, free: 7.949 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.01999/0.2713, allocations: 4.392 MB / 418.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.009e-05/0.2714, allocations: 11.89 kB / 418.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.2748, allocations: 454.3 kB / 419.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009583/0.2844, allocations: 2.271 MB / 421.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.2848, allocations: 238.1 kB / 421.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.2868, allocations: 307.9 kB / 422 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.3041, allocations: 4.365 MB / 426.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000241/0.3044, allocations: 8 kB / 426.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/0.3059, allocations: 132 kB / 426.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002498/0.3062, allocations: 137.9 kB / 426.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/0.3186, allocations: 3.771 MB / 430.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04186/0.3605, allocations: 13.42 MB / 443.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/0.3655, allocations: 2.903 MB / 446.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/0.3694, allocations: 1.676 MB / 448.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004937/0.37, allocations: 134.4 kB / 448.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.717e-05/0.3701, allocations: 51.88 kB / 448.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 5.451e-06/0.3701, allocations: 0 / 448.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.4468/0.8169, allocations: 9.269 MB / 457.8 MB, free: 67.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.8171, allocations: 70.38 kB / 457.9 MB, free: 67.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006789/0.8239, allocations: 2.358 MB / 460.2 MB, free: 66.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000706/0.8246, allocations: 57.05 kB / 460.3 MB, free: 66.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/0.8267, allocations: 1.501 MB / 461.8 MB, free: 65.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001439/0.8281, allocations: 0.6314 MB / 462.4 MB, free: 65.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.8292, allocations: 370.8 kB / 462.8 MB, free: 65.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8293, allocations: 303.4 kB / 463.1 MB, free: 64.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.8319, allocations: 1.129 MB / 464.2 MB, free: 64.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.8341, allocations: 1.567 MB / 465.8 MB, free: 63.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.8383, allocations: 2.788 MB / 468.6 MB, free: 62.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.8384, allocations: 7.625 kB / 468.6 MB, free: 62.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006683/0.8451, allocations: 3.601 MB / 472.2 MB, free: 60.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.8451, allocations: 11.84 kB / 472.2 MB, free: 60.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.8452, allocations: 13.62 kB / 472.2 MB, free: 60.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.8471, allocations: 0.8004 MB / 473 MB, free: 60.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.8487, allocations: 461.2 kB / 473.5 MB, free: 60.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008845/0.8576, allocations: 11.18 MB / 484.6 MB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.8602, allocations: 122.9 kB / 484.8 MB, free: 50.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.8604, allocations: 81.42 kB / 484.8 MB, free: 50.78 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.002417/0.8629, allocations: 1.089 MB / 485.9 MB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009423/0.8638, allocations: 258.3 kB / 486.2 MB, free: 49.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/0.8685, allocations: 3.304 MB / 489.5 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.8686, allocations: 19.88 kB / 489.5 MB, free: 46.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.8686, allocations: 8 kB / 489.5 MB, free: 46.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.8686, allocations: 7.969 kB / 489.5 MB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.8795, allocations: 6.847 MB / 496.4 MB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.8795, allocations: 7.938 kB / 496.4 MB, free: 39.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.8806, allocations: 295.6 kB / 496.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/0.8827, allocations: 0.9183 MB / 497.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.8829, allocations: 43.98 kB / 497.6 MB, free: 38.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.8934, allocations: 14.6 MB / 0.5002 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8934, allocations: 4 kB / 0.5002 GB, free: 22.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006863/0.9003, allocations: 4.872 MB / 0.505 GB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/0.9023, allocations: 0.5746 MB / 0.5055 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/0.9027, allocations: 39.98 kB / 0.5056 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.9039, allocations: 123.9 kB / 0.5057 GB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/0.9044, allocations: 161.7 kB / 0.5059 GB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.9045, allocations: 47.98 kB / 0.5059 GB, free: 16.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002216/0.9067, allocations: 1.625 MB / 0.5075 GB, free: 15.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9067, allocations: 0 / 0.5075 GB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002821/0.9095, allocations: 0.7061 MB / 0.5082 GB, free: 14.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.0004605/0.91, allocations: 216 kB / 0.5084 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004845/0.9149, allocations: 3.594 MB / 0.5119 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.9149, allocations: 5.812 kB / 0.5119 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003202/0.9181, allocations: 2.51 MB / 0.5143 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/0.9217, allocations: 0.7138 MB / 0.515 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.9334, allocations: 6.86 MB / 0.5217 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003887/0.9374, allocations: 2.521 MB / 0.5242 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002676/0.9401, allocations: 0.5827 MB / 0.5248 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.9408, allocations: 155.4 kB / 0.5249 GB, free: 13.19 MB / 398.1 MB Notification: Performance of SimCode: time 2.023e-06/0.9408, allocations: 0 / 0.5249 GB, free: 13.19 MB / 398.1 MB Notification: Performance of Templates: time 0.0849/1.026, allocations: 40.55 MB / 0.5645 GB, free: 4.625 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)