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.008926/0.008926, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.001499/0.001499, allocations: 190 kB / 16.67 MB, free: 5.883 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.925/1.925, allocations: 205.1 MB / 222.6 MB, free: 4.383 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.001367/0.001367, allocations: 50.72 kB / 326.6 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1437, allocations: 46.63 MB / 373.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01361/0.1574, allocations: 9.754 MB / 382.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009644/0.1671, allocations: 3.151 MB / 386.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002874/0.17, allocations: 43.81 kB / 386.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.1726, allocations: 0.6675 MB / 386.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.1775, allocations: 0.8154 MB / 387.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.1794, allocations: 383.5 kB / 388 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006641/0.1861, allocations: 3.105 MB / 391.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/0.1908, allocations: 2.393 MB / 393.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.1943, allocations: 1.367 MB / 394.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004642/0.1989, allocations: 1.689 MB / 396.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001697/0.2006, allocations: 360 kB / 396.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.2032, allocations: 447.8 kB / 397.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001759/0.205, allocations: 1.001 MB / 398.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003017/0.208, allocations: 1.598 MB / 399.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0055/0.2135, allocations: 4.72 MB / 404.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.2135, allocations: 0 / 404.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2136, allocations: 0 / 404.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.2137, allocations: 0 / 404.7 MB, free: 1.738 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.008115/0.2218, allocations: 3.209 MB / 407.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.973e-05/0.2219, allocations: 11.89 kB / 407.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.223, allocations: 325.3 kB / 408.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.2262, allocations: 1.647 MB / 409.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.2264, allocations: 176.6 kB / 410 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.2268, allocations: 228 kB / 410.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005661/0.2325, allocations: 3.177 MB / 413.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.2325, allocations: 11.89 kB / 413.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.2328, allocations: 95.98 kB / 413.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.2329, allocations: 104.4 kB / 413.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005109/0.2381, allocations: 2.754 MB / 416.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0216/0.2597, allocations: 9.762 MB / 426.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/0.263, allocations: 2.094 MB / 428.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/0.2654, allocations: 1.202 MB / 429.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.2658, allocations: 122.9 kB / 429.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/0.2659, allocations: 47.56 kB / 429.6 MB, free: 8.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 4.509e-06/0.2659, allocations: 0 / 429.6 MB, free: 8.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.02083/0.2868, allocations: 7.985 MB / 437.6 MB, free: 20 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.2869, allocations: 76.7 kB / 437.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/0.291, allocations: 1.672 MB / 439.3 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.2912, allocations: 49.7 kB / 439.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.2923, allocations: 1.097 MB / 440.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.293, allocations: 488.9 kB / 440.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/0.2936, allocations: 287.4 kB / 441.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2937, allocations: 301.1 kB / 441.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.2954, allocations: 0.9057 MB / 442.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.2973, allocations: 1.271 MB / 443.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.3013, allocations: 2.254 MB / 446 MB, free: 7.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.3013, allocations: 7.938 kB / 446 MB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005921/0.3072, allocations: 3.045 MB / 449 MB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.3073, allocations: 12 kB / 449 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.3073, allocations: 8 kB / 449 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.3095, allocations: 0.8401 MB / 449.9 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.3107, allocations: 315.5 kB / 450.2 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4023/0.7131, allocations: 9.888 MB / 460.1 MB, free: 65.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.7156, allocations: 98.58 kB / 460.2 MB, free: 65.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.7158, allocations: 63.78 kB / 460.2 MB, free: 65.45 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.002745/0.7185, allocations: 0.8115 MB / 461 MB, free: 65.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000975/0.7195, allocations: 180.5 kB / 461.2 MB, free: 65.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007037/0.7266, allocations: 2.843 MB / 464.1 MB, free: 63.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.7266, allocations: 14.34 kB / 464.1 MB, free: 63.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.7267, allocations: 9.281 kB / 464.1 MB, free: 63.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.7267, allocations: 9.062 kB / 464.1 MB, free: 63.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.7393, allocations: 5.658 MB / 469.7 MB, free: 61.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.7394, allocations: 2.75 kB / 469.7 MB, free: 61.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009236/0.7403, allocations: 193.3 kB / 469.9 MB, free: 61.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.7429, allocations: 0.8925 MB / 470.8 MB, free: 61.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.7431, allocations: 38.92 kB / 470.9 MB, free: 61.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.7548, allocations: 11.53 MB / 482.4 MB, free: 52.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.7548, allocations: 0 / 482.4 MB, free: 52.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/0.7613, allocations: 4.145 MB / 486.5 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.7627, allocations: 462.7 kB / 487 MB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.7629, allocations: 35.98 kB / 487 MB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009402/0.7639, allocations: 76.53 kB / 487.1 MB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004865/0.7644, allocations: 153 kB / 487.3 MB, free: 48.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/0.7645, allocations: 39.98 kB / 487.3 MB, free: 48.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.7662, allocations: 1.149 MB / 488.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7662, allocations: 0 / 488.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002419/0.7686, allocations: 0.5624 MB / 489 MB, free: 47.05 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.0004955/0.7691, allocations: 194 kB / 489.2 MB, free: 46.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.7736, allocations: 3.002 MB / 492.2 MB, free: 43.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.7737, allocations: 0 / 492.2 MB, free: 43.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002932/0.7766, allocations: 2.042 MB / 494.2 MB, free: 41.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.7797, allocations: 0.4988 MB / 494.7 MB, free: 41.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009645/0.7894, allocations: 5.156 MB / 499.9 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.791, allocations: 2.02 MB / 0.4902 GB, free: 33.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001473/0.7925, allocations: 407.3 kB / 0.4905 GB, free: 33.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.7928, allocations: 115.4 kB / 0.4907 GB, free: 33.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.515e-06/0.7928, allocations: 0 / 0.4907 GB, free: 33.46 MB / 382.1 MB Notification: Performance of Templates: time 0.06116/0.854, allocations: 33.22 MB / 0.5231 GB, free: 204 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)