Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009048/0.009049, allocations: 111.1 kB / 15.74 MB, free: 6.055 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.001384/0.001384, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.798/1.798, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001433/0.001433, allocations: 53.66 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1479, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01242/0.1604, allocations: 9.742 MB / 382.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007754/0.1682, allocations: 3.144 MB / 386.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.1702, allocations: 43.81 kB / 386.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.1724, allocations: 0.6714 MB / 386.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.1768, allocations: 0.827 MB / 387.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1783, allocations: 383.5 kB / 388 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00435/0.1826, allocations: 3.109 MB / 391.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003118/0.1858, allocations: 2.385 MB / 393.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.189, allocations: 1.371 MB / 394.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.1923, allocations: 1.685 MB / 396.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008095/0.1931, allocations: 364 kB / 396.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.1944, allocations: 447.8 kB / 397.3 MB, free: 9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.1957, allocations: 1.001 MB / 398.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.198, allocations: 1.602 MB / 399.9 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.2036, allocations: 4.712 MB / 404.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.2036, allocations: 0 / 404.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.2036, allocations: 0 / 404.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001196/0.2038, allocations: 7.938 kB / 404.7 MB, free: 1.652 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008162/0.2119, allocations: 3.209 MB / 407.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.212, allocations: 11.89 kB / 407.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009358/0.213, allocations: 329.3 kB / 408.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.2162, allocations: 1.635 MB / 409.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.2163, allocations: 180.7 kB / 410 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.2167, allocations: 228 kB / 410.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005877/0.2226, allocations: 3.177 MB / 413.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.449e-05/0.2227, allocations: 15.89 kB / 413.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/0.223, allocations: 92 kB / 413.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.2231, allocations: 104.4 kB / 413.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/0.2283, allocations: 2.742 MB / 416.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01717/0.2455, allocations: 9.777 MB / 426.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.2481, allocations: 2.087 MB / 428.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.2501, allocations: 1.202 MB / 429.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.2504, allocations: 130 kB / 429.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.2504, allocations: 51.5 kB / 429.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.416e-06/0.2504, allocations: 0 / 429.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01795/0.2684, allocations: 7.993 MB / 437.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.2685, allocations: 64.72 kB / 437.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.271, allocations: 1.672 MB / 439.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.2711, allocations: 49.7 kB / 439.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000817/0.272, allocations: 1.093 MB / 440.5 MB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/0.2724, allocations: 492.9 kB / 441 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.2728, allocations: 291.4 kB / 441.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2729, allocations: 301.1 kB / 441.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.2743, allocations: 0.9096 MB / 442.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.276, allocations: 1.267 MB / 443.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.2791, allocations: 2.258 MB / 446 MB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.2792, allocations: 7.938 kB / 446 MB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005141/0.2843, allocations: 3.037 MB / 449 MB, free: 4.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.2844, allocations: 8 kB / 449 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.032e-05/0.2844, allocations: 12.44 kB / 449 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.2865, allocations: 0.8401 MB / 449.9 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.2877, allocations: 303.5 kB / 450.2 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3437/0.6314, allocations: 9.901 MB / 460.1 MB, free: 65.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.6332, allocations: 99.42 kB / 460.2 MB, free: 65.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.6334, allocations: 63 kB / 460.2 MB, free: 65.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002017/0.6354, allocations: 0.8137 MB / 461 MB, free: 65.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/0.636, allocations: 178.7 kB / 461.2 MB, free: 65.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005905/0.6419, allocations: 2.842 MB / 464.1 MB, free: 64.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.6419, allocations: 12.91 kB / 464.1 MB, free: 64.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.6419, allocations: 8.344 kB / 464.1 MB, free: 64.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.642, allocations: 6.891 kB / 464.1 MB, free: 64.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009778/0.6517, allocations: 5.653 MB / 469.7 MB, free: 61.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6518, allocations: 6.25 kB / 469.7 MB, free: 61.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008795/0.6527, allocations: 194.2 kB / 469.9 MB, free: 61.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.6549, allocations: 0.8945 MB / 470.8 MB, free: 61.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.655, allocations: 39.52 kB / 470.9 MB, free: 61.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.6651, allocations: 11.53 MB / 482.4 MB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6652, allocations: 3.938 kB / 482.4 MB, free: 52.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00549/0.6707, allocations: 4.154 MB / 486.6 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.6717, allocations: 462.7 kB / 487 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.672, allocations: 37.58 kB / 487 MB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/0.6728, allocations: 74.42 kB / 487.1 MB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/0.6732, allocations: 145 kB / 487.3 MB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.068e-05/0.6733, allocations: 43.98 kB / 487.3 MB, free: 48.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.6748, allocations: 1.149 MB / 488.4 MB, free: 47.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6749, allocations: 3.062 kB / 488.5 MB, free: 47.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001999/0.6769, allocations: 0.565 MB / 489 MB, free: 47.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0003857/0.6773, allocations: 190.7 kB / 489.2 MB, free: 46.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003896/0.6812, allocations: 3.001 MB / 492.2 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6812, allocations: 0.625 kB / 492.2 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.6837, allocations: 2.034 MB / 494.2 MB, free: 41.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.6859, allocations: 0.5082 MB / 494.7 MB, free: 41.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007466/0.6933, allocations: 5.148 MB / 499.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.6947, allocations: 2.02 MB / 0.4902 GB, free: 34.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001107/0.6959, allocations: 403.3 kB / 0.4905 GB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.6962, allocations: 115.4 kB / 0.4906 GB, free: 33.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6962, allocations: 4 kB / 0.4907 GB, free: 33.57 MB / 382.1 MB Notification: Performance of Templates: time 0.0515/0.7477, allocations: 33.22 MB / 0.5231 GB, free: 312 kB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)