Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001046/0.001046, allocations: 180.7 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.302/1.302, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001658/0.001658, allocations: 108.2 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08946, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2693/0.3588, allocations: 99.42 MB / 454.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.359, allocations: 90.61 kB / 454.6 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1124/0.4715, allocations: 44.47 MB / 499 MB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4715, allocations: 0 / 499 MB, free: 12.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002037/0.4717, allocations: 59.94 kB / 499.1 MB, free: 11.95 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005711/0.4774, allocations: 2.433 MB / 0.4898 GB, free: 9.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4775, allocations: 8.031 kB / 0.4898 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4785, allocations: 292.8 kB / 0.4901 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.4819, allocations: 1.558 MB / 0.4916 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.4821, allocations: 156 kB / 0.4917 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004288/0.4825, allocations: 200 kB / 0.4919 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/0.4868, allocations: 2.703 MB / 0.4946 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-05/0.4869, allocations: 11.84 kB / 0.4946 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.4871, allocations: 84 kB / 0.4947 GB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/0.4872, allocations: 87.88 kB / 0.4947 GB, free: 4.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.4906, allocations: 2.229 MB / 0.4969 GB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.5023, allocations: 8.454 MB / 0.5052 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.5044, allocations: 1.818 MB / 0.5069 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.5046, allocations: 134 kB / 0.5071 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5047, allocations: 43.56 kB / 0.5071 GB, free: 7.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.5047, allocations: 0 / 0.5071 GB, free: 7.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=123): time 0.01226/0.5169, allocations: 6.44 MB / 0.5134 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.517, allocations: 64.41 kB / 0.5135 GB, free: 476 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1771/0.6941, allocations: 1.308 MB / 0.5147 GB, free: 97.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004661/0.6947, allocations: 47.52 kB / 0.5148 GB, free: 97.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008797/0.6956, allocations: 0.9768 MB / 0.5157 GB, free: 97.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/0.696, allocations: 429.1 kB / 0.5162 GB, free: 97.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.6961, allocations: 27.94 kB / 0.5162 GB, free: 97.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6962, allocations: 363.3 kB / 0.5165 GB, free: 97.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.6975, allocations: 0.7447 MB / 0.5173 GB, free: 97.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.6987, allocations: 1.046 MB / 0.5183 GB, free: 96.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.6998, allocations: 0.8919 MB / 0.5191 GB, free: 96.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6999, allocations: 3.375 kB / 0.5191 GB, free: 96.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00392/0.7038, allocations: 2.363 MB / 0.5215 GB, free: 96.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.7038, allocations: 9.094 kB / 0.5215 GB, free: 96.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.7039, allocations: 8.375 kB / 0.5215 GB, free: 96.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009729/0.7048, allocations: 405.6 kB / 0.5219 GB, free: 96.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.7061, allocations: 341.6 kB / 0.5222 GB, free: 96.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.7107, allocations: 4.75 MB / 0.5268 GB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.712, allocations: 91.45 kB / 0.5269 GB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.7121, allocations: 53.41 kB / 0.527 GB, free: 94.04 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001343/0.7135, allocations: 0.7096 MB / 0.5277 GB, free: 93.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.7137, allocations: 161.8 kB / 0.5278 GB, free: 93.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.7175, allocations: 2.198 MB / 0.53 GB, free: 93.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.7176, allocations: 11.75 kB / 0.53 GB, free: 93.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7176, allocations: 6.469 kB / 0.53 GB, free: 93.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.7176, allocations: 8.75 kB / 0.53 GB, free: 93.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008084/0.7257, allocations: 4.581 MB / 0.5345 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7257, allocations: 5.281 kB / 0.5345 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.7267, allocations: 233.4 kB / 0.5347 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/0.728, allocations: 475.8 kB / 0.5351 GB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.923e-05/0.7281, allocations: 34.61 kB / 0.5352 GB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005102/0.7332, allocations: 6.299 MB / 0.5413 GB, free: 89.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7332, allocations: 7.312 kB / 0.5413 GB, free: 89.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0046/0.7378, allocations: 3.391 MB / 0.5446 GB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/0.7387, allocations: 408.4 kB / 0.545 GB, free: 87.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.7389, allocations: 30.39 kB / 0.5451 GB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.7397, allocations: 82.03 kB / 0.5451 GB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.7399, allocations: 106.7 kB / 0.5452 GB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.557e-05/0.74, allocations: 38.55 kB / 0.5453 GB, free: 87.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001268/0.7413, allocations: 1.02 MB / 0.5463 GB, free: 86.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7413, allocations: 0 / 0.5463 GB, free: 86.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00144/0.7427, allocations: 493.5 kB / 0.5467 GB, free: 86.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0004463/0.7432, allocations: 306.4 kB / 0.547 GB, free: 86.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.746, allocations: 2.305 MB / 0.5493 GB, free: 85.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.746, allocations: 1.312 kB / 0.5493 GB, free: 85.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.7477, allocations: 1.52 MB / 0.5508 GB, free: 84.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.7491, allocations: 417.1 kB / 0.5512 GB, free: 84.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.7554, allocations: 5.334 MB / 0.5564 GB, free: 81.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.7565, allocations: 1.859 MB / 0.5582 GB, free: 81.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001162/0.7577, allocations: 397.9 kB / 0.5586 GB, free: 80.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.758, allocations: 111.1 kB / 0.5587 GB, free: 80.98 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.758, allocations: 0 / 0.5587 GB, free: 80.98 MB / 394.7 MB Notification: Performance of Templates: time 0.03587/0.7939, allocations: 25.75 MB / 0.5838 GB, free: 75.6 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)