Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01059/0.01059, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001892/0.001892, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.00142/0.00142, allocations: 54.16 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1597, 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.01327/0.173, allocations: 9.75 MB / 382.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009096/0.1822, allocations: 3.144 MB / 386.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.1849, allocations: 43.81 kB / 386.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002761/0.1877, allocations: 0.7066 MB / 386.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004419/0.1922, allocations: 0.8584 MB / 387.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1934, allocations: 383.5 kB / 388.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005067/0.1985, allocations: 3.098 MB / 391.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.202, allocations: 2.396 MB / 393.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.2052, allocations: 1.382 MB / 394.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.2076, allocations: 1.685 MB / 396.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005529/0.2082, allocations: 364 kB / 397 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2094, allocations: 443.9 kB / 397.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.2106, allocations: 1.001 MB / 398.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002512/0.2131, allocations: 1.602 MB / 400 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005492/0.2186, allocations: 4.708 MB / 404.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.2186, allocations: 4 kB / 404.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2187, allocations: 0 / 404.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.84e-05/0.2187, allocations: 4 kB / 404.7 MB, free: 1.574 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.007035/0.2258, allocations: 3.213 MB / 407.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.2259, allocations: 11.89 kB / 408 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000899/0.2268, allocations: 325.4 kB / 408.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.2296, allocations: 1.639 MB / 409.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.2297, allocations: 176.6 kB / 410.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.2301, allocations: 232 kB / 410.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005947/0.236, allocations: 3.188 MB / 413.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.497e-05/0.2361, allocations: 7.906 kB / 413.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/0.2364, allocations: 92 kB / 413.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.2365, allocations: 104.4 kB / 413.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005168/0.2417, allocations: 2.742 MB / 416.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01597/0.2577, allocations: 9.769 MB / 426.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.2604, allocations: 2.09 MB / 428.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.2624, allocations: 1.203 MB / 429.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.2627, allocations: 126.1 kB / 429.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.2628, allocations: 43.56 kB / 429.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 4.328e-06/0.2628, allocations: 0 / 429.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01866/0.2815, allocations: 7.997 MB / 437.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.2816, allocations: 68.72 kB / 437.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.2843, allocations: 1.672 MB / 439.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.2844, allocations: 53.7 kB / 439.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.2855, allocations: 1.089 MB / 440.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004868/0.286, allocations: 484.9 kB / 441 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000511/0.2865, allocations: 299.4 kB / 441.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2866, allocations: 301.1 kB / 441.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.2881, allocations: 0.9057 MB / 442.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.2898, allocations: 1.267 MB / 443.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.2931, allocations: 2.258 MB / 446 MB, free: 7.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.2931, allocations: 7.938 kB / 446 MB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005586/0.2987, allocations: 3.041 MB / 449.1 MB, free: 4.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.2987, allocations: 12 kB / 449.1 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.2988, allocations: 8.438 kB / 449.1 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.3009, allocations: 0.844 MB / 449.9 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.3021, allocations: 311.5 kB / 450.3 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.397/0.6991, allocations: 9.896 MB / 460.1 MB, free: 65.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.7012, allocations: 96.84 kB / 460.2 MB, free: 65.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.7014, allocations: 60.42 kB / 460.3 MB, free: 65.61 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.002222/0.7036, allocations: 0.8178 MB / 461.1 MB, free: 65.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/0.7043, allocations: 179.5 kB / 461.3 MB, free: 65.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/0.711, allocations: 2.842 MB / 464.1 MB, free: 64.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.711, allocations: 13.66 kB / 464.2 MB, free: 64.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/0.711, allocations: 7.875 kB / 464.2 MB, free: 64.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.7111, allocations: 7.281 kB / 464.2 MB, free: 64.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.7226, allocations: 5.649 MB / 469.8 MB, free: 61.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.7226, allocations: 2.5 kB / 469.8 MB, free: 61.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.7236, allocations: 204.5 kB / 470 MB, free: 61.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/0.7261, allocations: 0.8891 MB / 470.9 MB, free: 61.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.7262, allocations: 38.89 kB / 470.9 MB, free: 61.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.7372, allocations: 11.54 MB / 482.5 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7372, allocations: 3.938 kB / 482.5 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00668/0.7439, allocations: 4.142 MB / 486.6 MB, free: 49.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.7453, allocations: 466.7 kB / 487.1 MB, free: 49.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.7455, allocations: 32 kB / 487.1 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009318/0.7465, allocations: 83.91 kB / 487.2 MB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/0.747, allocations: 145 kB / 487.3 MB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-05/0.7471, allocations: 37.3 kB / 487.4 MB, free: 48.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.7489, allocations: 1.153 MB / 488.5 MB, free: 47.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.535e-06/0.7489, allocations: 0 / 488.5 MB, free: 47.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002622/0.7515, allocations: 0.5642 MB / 489.1 MB, free: 47.17 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.000604/0.7522, allocations: 195.1 kB / 489.3 MB, free: 46.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005256/0.7574, allocations: 3.001 MB / 492.3 MB, free: 43.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.7575, allocations: 0.625 kB / 492.3 MB, free: 43.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00339/0.7609, allocations: 2.038 MB / 494.3 MB, free: 41.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.764, allocations: 0.5063 MB / 494.8 MB, free: 41.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009857/0.7738, allocations: 5.154 MB / 500 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.7756, allocations: 2.016 MB / 0.4902 GB, free: 34.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001626/0.7773, allocations: 399.3 kB / 0.4906 GB, free: 33.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.7776, allocations: 115.4 kB / 0.4907 GB, free: 33.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.993e-06/0.7776, allocations: 4 kB / 0.4907 GB, free: 33.57 MB / 382.1 MB Notification: Performance of Templates: time 0.06135/0.839, allocations: 33.21 MB / 0.5232 GB, free: 328 kB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)