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.00097/0.0009702, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.134/1.134, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001548/0.001548, allocations: 116.9 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07499/0.07532, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.2993, allocations: 98.37 MB / 453.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.2996, allocations: 95.14 kB / 453.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.099/0.3986, allocations: 40.97 MB / 494.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3986, allocations: 3.938 kB / 494.5 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001263/0.3988, allocations: 51.92 kB / 494.5 MB, free: 0.5664 MB / 362.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.004844/0.4036, allocations: 2.216 MB / 496.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4037, allocations: 8.031 kB / 496.8 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006749/0.4043, allocations: 265.2 kB / 497 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.407, allocations: 1.415 MB / 498.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.4071, allocations: 143.6 kB / 498.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.4073, allocations: 179.9 kB / 498.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/0.411, allocations: 2.388 MB / 0.4894 GB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.411, allocations: 4 kB / 0.4894 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.4112, allocations: 75.94 kB / 0.4895 GB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.655e-05/0.4113, allocations: 87.48 kB / 0.4896 GB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.4143, allocations: 1.927 MB / 0.4914 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.4245, allocations: 7.495 MB / 0.4988 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.4264, allocations: 1.32 MB / 0.5001 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.4266, allocations: 141.9 kB / 0.5002 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.4267, allocations: 43.52 kB / 0.5002 GB, free: 14.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 2.625e-06/0.4267, allocations: 0 / 0.5002 GB, free: 14.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=103): time 0.00846/0.4352, allocations: 5.067 MB / 0.5052 GB, free: 9.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.4352, allocations: 68.41 kB / 0.5052 GB, free: 9.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.4367, allocations: 1.19 MB / 0.5064 GB, free: 7.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/0.4368, allocations: 41.7 kB / 0.5064 GB, free: 7.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.4374, allocations: 0.9009 MB / 0.5073 GB, free: 6.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.4377, allocations: 358.8 kB / 0.5077 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.4378, allocations: 27.94 kB / 0.5077 GB, free: 6.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4379, allocations: 353.9 kB / 0.508 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009472/0.4388, allocations: 0.6506 MB / 0.5087 GB, free: 5.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.4399, allocations: 0.9337 MB / 0.5096 GB, free: 4.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.441, allocations: 0.7876 MB / 0.5103 GB, free: 3.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.441, allocations: 4 kB / 0.5104 GB, free: 3.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003876/0.4449, allocations: 2.476 MB / 0.5128 GB, free: 1.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.445, allocations: 12 kB / 0.5128 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.445, allocations: 8 kB / 0.5128 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.4468, allocations: 0.7723 MB / 0.5135 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.4476, allocations: 239.6 kB / 0.5138 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.155/0.6026, allocations: 8.859 MB / 0.5224 GB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.604, allocations: 84.95 kB / 0.5225 GB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.6041, allocations: 50.91 kB / 0.5226 GB, free: 97.18 MB / 394.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 () * Number of clocked 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.001197/0.6053, allocations: 0.6274 MB / 0.5232 GB, free: 97.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.6056, allocations: 149 kB / 0.5233 GB, free: 97.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.6089, allocations: 1.951 MB / 0.5252 GB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.6089, allocations: 9.562 kB / 0.5252 GB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6089, allocations: 5.156 kB / 0.5252 GB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.6089, allocations: 5.531 kB / 0.5252 GB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006798/0.6157, allocations: 4.034 MB / 0.5292 GB, free: 96.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6158, allocations: 1.375 kB / 0.5292 GB, free: 96.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/0.6166, allocations: 199.1 kB / 0.5294 GB, free: 96.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.6178, allocations: 465.2 kB / 0.5298 GB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.6179, allocations: 30.84 kB / 0.5298 GB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005449/0.6234, allocations: 6.309 MB / 0.536 GB, free: 92.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6234, allocations: 5.156 kB / 0.536 GB, free: 92.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/0.6279, allocations: 2.949 MB / 0.5389 GB, free: 91.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.6287, allocations: 365.2 kB / 0.5392 GB, free: 91.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.6289, allocations: 25.66 kB / 0.5393 GB, free: 91.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007409/0.6296, allocations: 81.5 kB / 0.5393 GB, free: 91.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.6298, allocations: 84.34 kB / 0.5394 GB, free: 91.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.6299, allocations: 33.12 kB / 0.5394 GB, free: 91.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.6313, allocations: 0.924 MB / 0.5403 GB, free: 91.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.843e-06/0.6313, allocations: 0 / 0.5403 GB, free: 91.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001707/0.633, allocations: 477.5 kB / 0.5408 GB, free: 91.27 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 () * Number of clocked 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.0004905/0.6335, allocations: 301.8 kB / 0.5411 GB, free: 91.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003105/0.6366, allocations: 2.098 MB / 0.5431 GB, free: 90.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6367, allocations: 0 / 0.5431 GB, free: 90.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.6383, allocations: 1.371 MB / 0.5445 GB, free: 89.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.6397, allocations: 351.2 kB / 0.5448 GB, free: 89.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.645, allocations: 4.788 MB / 0.5495 GB, free: 86.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009691/0.646, allocations: 1.733 MB / 0.5512 GB, free: 86.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008912/0.6469, allocations: 315.4 kB / 0.5515 GB, free: 86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.6471, allocations: 90.92 kB / 0.5516 GB, free: 86 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.6471, allocations: 0 / 0.5516 GB, free: 86 MB / 394.7 MB Notification: Performance of Templates: time 0.03325/0.6804, allocations: 24.48 MB / 0.5755 GB, free: 83.91 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)