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.007751/0.007751, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001238/0.001238, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.83/1.83, allocations: 205.1 MB / 222.5 MB, free: 4.363 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: 55.52 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1317, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01345/0.1452, allocations: 11.75 MB / 384.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009218/0.1544, allocations: 3.79 MB / 388.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.1574, allocations: 67.69 kB / 388.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.1606, allocations: 0.8694 MB / 389.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.1656, allocations: 1.08 MB / 390.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.1678, allocations: 0.4915 MB / 391.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006783/0.1746, allocations: 4.269 MB / 395.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004302/0.1789, allocations: 3.206 MB / 398.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.1833, allocations: 1.892 MB / 400.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004928/0.1883, allocations: 2.328 MB / 402.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002136/0.1904, allocations: 0.4999 MB / 403.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.1932, allocations: 0.5858 MB / 404 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.196, allocations: 1.395 MB / 405.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004264/0.2002, allocations: 2.213 MB / 407.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007727/0.208, allocations: 6.551 MB / 414.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.208, allocations: 0 / 414.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.208, allocations: 0 / 414.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002333/0.2083, allocations: 4 kB / 414.2 MB, free: 8.07 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.01267/0.221, allocations: 4.294 MB / 418.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.221, allocations: 11.89 kB / 418.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.2222, allocations: 436 kB / 418.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004819/0.227, allocations: 2.254 MB / 421.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.2273, allocations: 238.2 kB / 421.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005818/0.2278, allocations: 307.9 kB / 421.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008677/0.2365, allocations: 4.361 MB / 426.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.593e-05/0.2367, allocations: 15.83 kB / 426.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/0.237, allocations: 128 kB / 426.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.2372, allocations: 130 kB / 426.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007544/0.2448, allocations: 3.775 MB / 430.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.271, allocations: 13.39 MB / 443.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004581/0.2757, allocations: 2.891 MB / 446.4 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003419/0.2791, allocations: 1.692 MB / 448.1 MB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.2795, allocations: 130.4 kB / 448.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.2796, allocations: 51.88 kB / 448.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 4.298e-06/0.2796, allocations: 0 / 448.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.3213/0.6009, allocations: 9.214 MB / 457.5 MB, free: 67.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.418e-05/0.601, allocations: 71.78 kB / 457.5 MB, free: 67.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006007/0.607, allocations: 2.36 MB / 459.9 MB, free: 66.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003533/0.6074, allocations: 57.7 kB / 460 MB, free: 66.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.6091, allocations: 1.465 MB / 461.4 MB, free: 65.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007504/0.6098, allocations: 0.5997 MB / 462 MB, free: 64.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008134/0.6107, allocations: 369.4 kB / 462.4 MB, free: 64.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6108, allocations: 302.3 kB / 462.7 MB, free: 64.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.6133, allocations: 1.126 MB / 463.8 MB, free: 64.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/0.6158, allocations: 1.57 MB / 465.4 MB, free: 63.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/0.6202, allocations: 2.791 MB / 468.2 MB, free: 61.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.6202, allocations: 4.125 kB / 468.2 MB, free: 61.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00721/0.6274, allocations: 3.591 MB / 471.8 MB, free: 60.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.6274, allocations: 11.81 kB / 471.8 MB, free: 60.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/0.6275, allocations: 12.41 kB / 471.8 MB, free: 60.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.6295, allocations: 0.7995 MB / 472.6 MB, free: 60.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.6311, allocations: 467.2 kB / 473 MB, free: 59.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00909/0.6402, allocations: 11.16 MB / 484.2 MB, free: 50.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.6431, allocations: 129.2 kB / 484.3 MB, free: 50.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.6433, allocations: 75.53 kB / 484.4 MB, free: 50.5 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.002634/0.646, allocations: 1.086 MB / 485.5 MB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009166/0.6469, allocations: 251.8 kB / 485.7 MB, free: 49.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005212/0.6521, allocations: 3.297 MB / 489 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6521, allocations: 16 kB / 489 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.6522, allocations: 8 kB / 489.1 MB, free: 46.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.6522, allocations: 7.969 kB / 489.1 MB, free: 46.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.6637, allocations: 6.848 MB / 495.9 MB, free: 39.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.6637, allocations: 3.938 kB / 495.9 MB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.665, allocations: 306.9 kB / 496.2 MB, free: 39.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.6673, allocations: 0.9263 MB / 497.1 MB, free: 38.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.6675, allocations: 39.98 kB / 497.2 MB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.6789, allocations: 14.59 MB / 0.4998 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.679, allocations: 0 / 0.4998 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008032/0.687, allocations: 4.863 MB / 0.5045 GB, free: 17.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/0.6894, allocations: 0.5643 MB / 0.5051 GB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/0.6899, allocations: 43.98 kB / 0.5051 GB, free: 17.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.6912, allocations: 115.9 kB / 0.5052 GB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/0.6917, allocations: 157.7 kB / 0.5054 GB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6918, allocations: 51.98 kB / 0.5054 GB, free: 17.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002408/0.6942, allocations: 1.629 MB / 0.507 GB, free: 15.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6942, allocations: 0 / 0.507 GB, free: 15.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003429/0.6976, allocations: 0.7068 MB / 0.5077 GB, free: 14.68 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.0006774/0.6983, allocations: 200.4 kB / 0.5079 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005445/0.7038, allocations: 3.603 MB / 0.5114 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.7038, allocations: 4 kB / 0.5114 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.7072, allocations: 2.502 MB / 0.5139 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/0.7115, allocations: 0.7078 MB / 0.5146 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.724, allocations: 6.761 MB / 0.5212 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/0.7268, allocations: 2.528 MB / 0.5236 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002712/0.7295, allocations: 0.5866 MB / 0.5242 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/0.7302, allocations: 155.4 kB / 0.5243 GB, free: 13.38 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7302, allocations: 3.938 kB / 0.5243 GB, free: 13.38 MB / 398.1 MB Notification: Performance of Templates: time 0.0819/0.8121, allocations: 40.55 MB / 0.5639 GB, free: 4.816 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)