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.00128/0.00128, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 198 kB / 16.53 MB, free: 6.668 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.807/1.807, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001573/0.001573, allocations: 47.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3179, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01353/0.3315, allocations: 9.759 MB / 335.1 MB, free: 10.13 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008927/0.3405, allocations: 3.137 MB / 338.2 MB, free: 6.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.3437, allocations: 47.81 kB / 338.3 MB, free: 6.934 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.346, allocations: 0.6636 MB / 338.9 MB, free: 6.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.3498, allocations: 0.8154 MB / 339.7 MB, free: 5.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3508, allocations: 395.5 kB / 340.1 MB, free: 5.059 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003677/0.3545, allocations: 3.086 MB / 343.2 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/0.3576, allocations: 2.389 MB / 345.6 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.3602, allocations: 1.363 MB / 347 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003782/0.364, allocations: 1.689 MB / 348.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.3651, allocations: 364 kB / 349 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.3664, allocations: 459.8 kB / 349.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3675, allocations: 0.9895 MB / 350.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.3698, allocations: 1.61 MB / 352.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006065/0.3759, allocations: 4.654 MB / 356.7 MB, free: 4.363 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.3759, allocations: 4 kB / 356.7 MB, free: 4.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3759, allocations: 0 / 356.7 MB, free: 4.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001553/0.3761, allocations: 3.938 kB / 356.7 MB, free: 4.355 MB / 286.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.008488/0.3846, allocations: 3.213 MB / 359.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.3847, allocations: 15.89 kB / 359.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009393/0.3856, allocations: 325.3 kB / 360.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.3893, allocations: 1.619 MB / 361.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.3895, allocations: 172.9 kB / 362 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004546/0.39, allocations: 239.8 kB / 362.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00574/0.3957, allocations: 3.184 MB / 365.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/0.3958, allocations: 4 kB / 365.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.396, allocations: 92 kB / 365.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.3962, allocations: 108.4 kB / 365.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004974/0.4012, allocations: 2.738 MB / 368.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/0.4173, allocations: 9.879 MB / 378.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.4198, allocations: 2.098 MB / 380.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.4216, allocations: 1.199 MB / 381.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.4219, allocations: 126.1 kB / 381.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4219, allocations: 51.56 kB / 381.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.246e-06/0.422, allocations: 0 / 381.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.01723/0.4392, allocations: 8.005 MB / 389.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.4393, allocations: 68.72 kB / 389.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.4419, allocations: 1.672 MB / 391.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.4421, allocations: 49.64 kB / 391.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008529/0.4429, allocations: 1.093 MB / 392.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.4434, allocations: 481 kB / 393.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004763/0.4439, allocations: 299.3 kB / 393.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.444, allocations: 301.1 kB / 393.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.4454, allocations: 0.9096 MB / 394.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.447, allocations: 1.263 MB / 395.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00299/0.45, allocations: 2.25 MB / 398.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.45, allocations: 0 / 398.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004946/0.4549, allocations: 3.045 MB / 401.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.455, allocations: 11.94 kB / 401.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.455, allocations: 15.98 kB / 401.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.457, allocations: 0.8366 MB / 402 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.4582, allocations: 307.5 kB / 402.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.4694, allocations: 9.93 MB / 412.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.4712, allocations: 95.84 kB / 412.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.4714, allocations: 60 kB / 412.4 MB, free: 11.07 MB / 350.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.001769/0.4731, allocations: 0.8135 MB / 413.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/0.4736, allocations: 185.9 kB / 413.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/0.4785, allocations: 2.846 MB / 416.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4786, allocations: 15.94 kB / 416.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4786, allocations: 8 kB / 416.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.4786, allocations: 7.969 kB / 416.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009677/0.4883, allocations: 5.679 MB / 422 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4883, allocations: 0 / 422 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008549/0.4892, allocations: 195.7 kB / 422.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/0.4914, allocations: 0.9018 MB / 423.1 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.4915, allocations: 43.98 kB / 423.1 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.5036, allocations: 11.52 MB / 434.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5036, allocations: 12.03 kB / 434.6 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006532/0.5102, allocations: 4.14 MB / 438.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009889/0.5112, allocations: 454.8 kB / 439.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.5114, allocations: 35.98 kB / 439.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008696/0.5123, allocations: 79.91 kB / 439.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/0.5127, allocations: 149 kB / 439.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.839e-05/0.5128, allocations: 43.97 kB / 439.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0016/0.5144, allocations: 1.153 MB / 440.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5144, allocations: 0 / 440.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001662/0.5161, allocations: 0.5547 MB / 441.2 MB, free: 13.44 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.0003563/0.5164, allocations: 198.9 kB / 441.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005704/0.5221, allocations: 3.639 MB / 445.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5222, allocations: 0 / 445.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00284/0.525, allocations: 2.034 MB / 447.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.5273, allocations: 0.5021 MB / 447.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008474/0.5358, allocations: 5.218 MB / 452.8 MB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1806/0.7164, allocations: 2.013 MB / 454.8 MB, free: 110.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001927/0.7184, allocations: 411.1 kB / 455.2 MB, free: 110.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.7188, allocations: 115.7 kB / 455.3 MB, free: 110.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.7188, allocations: 0 / 455.3 MB, free: 110.8 MB / 382.1 MB Notification: Performance of Templates: time 0.0566/0.7754, allocations: 32.7 MB / 488 MB, free: 86.86 MB / 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)