Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001455/0.001456, allocations: 89.77 kB / 16.31 MB, free: 5.566 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.001584/0.001583, allocations: 176.2 kB / 17.2 MB, free: 5.492 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.817/1.817, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.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.000482/0.0004822, allocations: 8.625 kB / 280.1 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09941, allocations: 47.59 MB / 327.7 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01152/0.111, allocations: 10.41 MB / 338.1 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008108/0.1191, allocations: 3.605 MB / 341.8 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.1216, allocations: 55.69 kB / 341.8 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.1241, allocations: 0.6873 MB / 342.5 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.1282, allocations: 0.9402 MB / 343.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1296, allocations: 311.5 kB / 343.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007227/0.1369, allocations: 4.382 MB / 348.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004789/0.1417, allocations: 2.201 MB / 350.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004156/0.146, allocations: 1.413 MB / 351.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004551/0.1506, allocations: 1.911 MB / 353.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.1517, allocations: 220 kB / 353.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.1533, allocations: 287.8 kB / 354.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.1545, allocations: 1.047 MB / 355.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.1557, allocations: 0.7537 MB / 355.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004528/0.1602, allocations: 5.283 MB / 361.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1602, allocations: 0 / 361.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1602, allocations: 0 / 361.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001105/0.1604, allocations: 0 / 361.2 MB, free: 2.414 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.00691/0.1673, allocations: 3.671 MB / 364.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1673, allocations: 8.031 kB / 364.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1684, allocations: 447 kB / 365.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/0.1719, allocations: 2.157 MB / 367.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.1721, allocations: 234.1 kB / 367.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/0.1725, allocations: 303.9 kB / 368 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006879/0.1794, allocations: 4.35 MB / 372.4 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/0.1794, allocations: 3.938 kB / 372.4 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.1797, allocations: 128 kB / 372.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.1799, allocations: 134 kB / 372.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005899/0.1858, allocations: 3.767 MB / 376.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2461/0.4319, allocations: 13.63 MB / 390 MB, free: 43.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/0.4378, allocations: 2.89 MB / 392.9 MB, free: 41.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003085/0.4409, allocations: 1.698 MB / 394.6 MB, free: 40.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.4413, allocations: 128.6 kB / 394.7 MB, free: 40.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.4413, allocations: 50.66 kB / 394.8 MB, free: 40.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 5.61e-06/0.4414, allocations: 0 / 394.8 MB, free: 40.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.02175/0.4631, allocations: 9.293 MB / 404.1 MB, free: 35.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.4633, allocations: 68.94 kB / 404.2 MB, free: 35.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006928/0.4702, allocations: 2.343 MB / 406.5 MB, free: 33.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005725/0.4709, allocations: 57.7 kB / 406.6 MB, free: 33.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.4721, allocations: 1.466 MB / 408 MB, free: 31.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009662/0.4731, allocations: 0.6022 MB / 408.6 MB, free: 31.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.4734, allocations: 40 kB / 408.7 MB, free: 31.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.4736, allocations: 389.8 kB / 409 MB, free: 30.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.4756, allocations: 1.12 MB / 410.2 MB, free: 29.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.4779, allocations: 1.575 MB / 411.7 MB, free: 27.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.48, allocations: 1.341 MB / 413.1 MB, free: 26.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/0.4801, allocations: 4 kB / 413.1 MB, free: 26.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006306/0.4864, allocations: 3.593 MB / 416.7 MB, free: 22.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.4865, allocations: 8 kB / 416.7 MB, free: 22.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.4865, allocations: 20.03 kB / 416.7 MB, free: 22.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.4884, allocations: 0.7981 MB / 417.5 MB, free: 22.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.4902, allocations: 459.3 kB / 417.9 MB, free: 21.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008055/0.4982, allocations: 10.29 MB / 428.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.5005, allocations: 128.3 kB / 428.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003721/0.5009, allocations: 75.98 kB / 428.4 MB, free: 10.54 MB / 318.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 (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 initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002328/0.5033, allocations: 1.099 MB / 429.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007888/0.5041, allocations: 245 kB / 429.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/0.5095, allocations: 3.302 MB / 433.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.5096, allocations: 20 kB / 433.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/0.5096, allocations: 11.95 kB / 433.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/0.5096, allocations: 7.969 kB / 433.1 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.5218, allocations: 6.895 MB / 440 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.5219, allocations: 4 kB / 440 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.5232, allocations: 299.5 kB / 440.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/0.5259, allocations: 0.9284 MB / 441.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/0.5261, allocations: 43.94 kB / 441.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.543, allocations: 13.43 MB / 454.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5431, allocations: 0 / 454.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.5537, allocations: 4.884 MB / 459.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/0.556, allocations: 0.5682 MB / 460.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000985/0.557, allocations: 36 kB / 460.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/0.5589, allocations: 131.9 kB / 460.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004634/0.5594, allocations: 153.7 kB / 460.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/0.5596, allocations: 59.98 kB / 460.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003681/0.5633, allocations: 1.609 MB / 462.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5633, allocations: 4 kB / 462.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003439/0.5668, allocations: 0.6992 MB / 462.8 MB, free: 6.949 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004644/0.5672, allocations: 170.6 kB / 463 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006/0.5733, allocations: 3.585 MB / 466.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.5733, allocations: 4 kB / 466.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003943/0.5772, allocations: 2.518 MB / 469.1 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/0.5822, allocations: 0.6935 MB / 469.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.5981, allocations: 7.949 MB / 477.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004075/0.6022, allocations: 2.52 MB / 480.3 MB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003145/0.6054, allocations: 0.5866 MB / 480.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.6064, allocations: 155.4 kB / 481 MB, free: 4.469 MB / 366.1 MB Notification: Performance of SimCode: time 2.736e-06/0.6065, allocations: 0 / 481 MB, free: 4.469 MB / 366.1 MB Notification: Performance of Templates: time 0.07435/0.6808, allocations: 38.85 MB / 0.5077 GB, free: 13.57 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)