Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 183.5 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.252/1.252, allocations: 194.3 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 121 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.244e-05/1.247e-05, allocations: 4 kB / 298.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06911/0.06914, allocations: 44.5 MB / 342.6 MB, free: 6.992 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2892/0.3584, allocations: 98.91 MB / 441.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.3587, allocations: 85.02 kB / 441.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1072/0.466, allocations: 40.89 MB / 482.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.466, allocations: 3.938 kB / 482.5 MB, free: 3.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000163/0.4662, allocations: 55.98 kB / 482.5 MB, free: 3.105 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004564/0.4708, allocations: 1.988 MB / 484.5 MB, free: 1.066 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4708, allocations: 8.031 kB / 484.5 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008932/0.4717, allocations: 273.1 kB / 484.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.4743, allocations: 1.368 MB / 486.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/0.4744, allocations: 71.94 kB / 486.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.4747, allocations: 119.8 kB / 486.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003037/0.4777, allocations: 1.749 MB / 488.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.4813, allocations: 2.09 MB / 490.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.335e-05/0.4814, allocations: 8 kB / 490.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.4815, allocations: 4 kB / 490.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.047e-05/0.4816, allocations: 83.69 kB / 490.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.4924, allocations: 7.457 MB / 497.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.494, allocations: 1.334 MB / 499.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.4953, allocations: 0.862 MB / 499.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.4956, allocations: 130.4 kB / 0.4883 GB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4957, allocations: 51.8 kB / 0.4884 GB, free: 1.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.376e-06/0.4957, allocations: 0 / 0.4884 GB, free: 1.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.007474/0.5031, allocations: 4.209 MB / 0.4925 GB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.5032, allocations: 68.7 kB / 0.4926 GB, free: 12.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.5045, allocations: 0.8898 MB / 0.4934 GB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/0.5046, allocations: 29.7 kB / 0.4935 GB, free: 11.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.5052, allocations: 0.8805 MB / 0.4943 GB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/0.5055, allocations: 429.6 kB / 0.4947 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.5056, allocations: 0 / 0.4947 GB, free: 10.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5057, allocations: 361.9 kB / 0.4951 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000867/0.5066, allocations: 0.6248 MB / 0.4957 GB, free: 9.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.5076, allocations: 0.9373 MB / 0.4966 GB, free: 8.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.5086, allocations: 0.7753 MB / 0.4973 GB, free: 7.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.5086, allocations: 4 kB / 0.4974 GB, free: 7.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003311/0.512, allocations: 2.128 MB / 0.4994 GB, free: 5.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.512, allocations: 8 kB / 0.4994 GB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.512, allocations: 19.92 kB / 0.4995 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.5131, allocations: 484.2 kB / 0.4999 GB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5144, allocations: 339.5 kB / 0.5002 GB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006237/0.5206, allocations: 6.346 MB / 0.5064 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.5217, allocations: 59.83 kB / 0.5065 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.5219, allocations: 55.98 kB / 0.5066 GB, free: 13.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.5221, allocations: 140.7 kB / 0.5067 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.5224, allocations: 142.3 kB / 0.5068 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.5257, allocations: 1.968 MB / 0.5087 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.5257, allocations: 12 kB / 0.5088 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5257, allocations: 12.05 kB / 0.5088 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.5257, allocations: 7.922 kB / 0.5088 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006304/0.532, allocations: 3.934 MB / 0.5126 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.5321, allocations: 288 / 0.5126 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/0.5331, allocations: 239.6 kB / 0.5128 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.5344, allocations: 0.5391 MB / 0.5134 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.714e-05/0.5345, allocations: 11.98 kB / 0.5134 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00723/0.5418, allocations: 7.841 MB / 0.521 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.5418, allocations: 7.938 kB / 0.521 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.5461, allocations: 3.036 MB / 0.524 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/0.5468, allocations: 351.3 kB / 0.5243 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.547, allocations: 11.98 kB / 0.5244 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/0.5477, allocations: 51.92 kB / 0.5244 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.548, allocations: 109.2 kB / 0.5245 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.458e-05/0.548, allocations: 39.98 kB / 0.5245 GB, free: 10.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000961/0.549, allocations: 0.669 MB / 0.5252 GB, free: 9.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.549, allocations: 0 / 0.5252 GB, free: 9.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001451/0.5505, allocations: 419.9 kB / 0.5256 GB, free: 9.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004694/0.551, allocations: 280.9 kB / 0.5259 GB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003204/0.5542, allocations: 2.196 MB / 0.528 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5542, allocations: 0 / 0.528 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.5562, allocations: 1.51 MB / 0.5295 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.5579, allocations: 300.6 kB / 0.5298 GB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.5639, allocations: 3.383 MB / 0.5331 GB, free: 1.684 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1863/0.7502, allocations: 1.691 MB / 0.5347 GB, free: 102.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001304/0.7515, allocations: 313.2 kB / 0.535 GB, free: 102.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.7518, allocations: 91.89 kB / 0.5351 GB, free: 102.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7518, allocations: 2.688 kB / 0.5351 GB, free: 102.2 MB / 394.7 MB Notification: Performance of Templates: time 0.03043/0.7823, allocations: 20.19 MB / 0.5548 GB, free: 101.3 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)