Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009693/0.0009694, allocations: 183.8 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.24/1.24, 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.001583/0.001583, allocations: 129.5 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.436e-05/1.43e-05, allocations: 4 kB / 298.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06564/0.06566, allocations: 44.49 MB / 342.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/0.3349, allocations: 97.63 MB / 440.2 MB, free: 4.934 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3351, allocations: 88.61 kB / 440.3 MB, free: 4.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1036/0.4387, allocations: 40.5 MB / 480.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4388, allocations: 0 / 480.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001908/0.439, allocations: 51.94 kB / 480.8 MB, free: 4.789 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004788/0.4438, allocations: 1.977 MB / 482.8 MB, free: 2.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4438, allocations: 8.031 kB / 482.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.4448, allocations: 265.1 kB / 483.1 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.4477, allocations: 1.415 MB / 484.5 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.427e-05/0.4478, allocations: 63.94 kB / 484.6 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003912/0.4482, allocations: 111.9 kB / 484.7 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003006/0.4512, allocations: 1.753 MB / 486.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/0.4545, allocations: 2.069 MB / 488.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.4546, allocations: 0 / 488.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.4547, allocations: 11.98 kB / 488.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/0.4548, allocations: 79.5 kB / 488.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.466, allocations: 7.132 MB / 495.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.4678, allocations: 1.246 MB / 497 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.4688, allocations: 0.7124 MB / 497.7 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.4691, allocations: 133.8 kB / 497.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4691, allocations: 43.34 kB / 497.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 2.846e-06/0.4692, allocations: 0 / 497.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.00701/0.4762, allocations: 3.941 MB / 0.49 GB, free: 15.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4762, allocations: 60.72 kB / 0.4901 GB, free: 15.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.4776, allocations: 0.9928 MB / 0.4911 GB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.4777, allocations: 33.7 kB / 0.4911 GB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000601/0.4783, allocations: 0.8922 MB / 0.492 GB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.4786, allocations: 346.9 kB / 0.4923 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.4787, allocations: 0 / 0.4923 GB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4788, allocations: 349.9 kB / 0.4926 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/0.4796, allocations: 0.5883 MB / 0.4932 GB, free: 11.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.4807, allocations: 0.8652 MB / 0.494 GB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4817, allocations: 0.7245 MB / 0.4948 GB, free: 10.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4817, allocations: 4 kB / 0.4948 GB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003758/0.4855, allocations: 2.265 MB / 0.497 GB, free: 7.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4855, allocations: 8 kB / 0.497 GB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4855, allocations: 8 kB / 0.497 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/0.4874, allocations: 0.7625 MB / 0.4977 GB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.4883, allocations: 247.6 kB / 0.498 GB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.4985, allocations: 8.158 MB / 0.5059 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.4997, allocations: 68 kB / 0.506 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.4998, allocations: 47.95 kB / 0.506 GB, free: 14.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.5001, allocations: 132.6 kB / 0.5062 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.5003, allocations: 134.3 kB / 0.5063 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.5033, allocations: 1.775 MB / 0.508 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5033, allocations: 23.88 kB / 0.5081 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5033, allocations: 4 kB / 0.5081 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5033, allocations: 11.97 kB / 0.5081 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/0.5092, allocations: 3.622 MB / 0.5116 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5092, allocations: 8 kB / 0.5116 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.5101, allocations: 196 kB / 0.5118 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.5113, allocations: 458.9 kB / 0.5122 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.5114, allocations: 19.97 kB / 0.5123 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005453/0.5168, allocations: 5.909 MB / 0.518 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.5169, allocations: 8.062 kB / 0.518 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/0.5207, allocations: 2.742 MB / 0.5207 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.5213, allocations: 339.4 kB / 0.521 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.5215, allocations: 19.88 kB / 0.5211 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/0.5223, allocations: 59.92 kB / 0.5211 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.5224, allocations: 80.66 kB / 0.5212 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.5225, allocations: 28 kB / 0.5212 GB, free: 14.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.5236, allocations: 0.748 MB / 0.5219 GB, free: 13.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.5236, allocations: 0 / 0.5219 GB, free: 13.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001369/0.525, allocations: 411.9 kB / 0.5223 GB, free: 13.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004354/0.5254, allocations: 285 kB / 0.5226 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.5283, allocations: 1.909 MB / 0.5245 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5283, allocations: 0 / 0.5245 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.5301, allocations: 1.28 MB / 0.5257 GB, free: 9.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5314, allocations: 280.2 kB / 0.526 GB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.5365, allocations: 3.226 MB / 0.5291 GB, free: 6.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.5379, allocations: 1.727 MB / 0.5308 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009162/0.5388, allocations: 299 kB / 0.5311 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.5391, allocations: 91.42 kB / 0.5312 GB, free: 3.918 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5391, allocations: 0 / 0.5312 GB, free: 3.918 MB / 394.7 MB Notification: Performance of Templates: time 0.1934/0.7325, allocations: 19.58 MB / 0.5503 GB, free: 104.2 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)